I am new on asp.net programming.rnHere I got a problem about validatorrnI want to write a login.aspx page, for example, there is UserName box. I need to validate two things on UserName box,rn1. It must be filled. If it is empty, I will show a red message right after this box, like "UserName is empty!"rn2. It must be a valid user in our database. So on server side, we will check this UserName in our database. If it is not in our database, we will show something like "Invalid user name..."rnI know it is very easy to do the 1st rule with the RequireFieldValidator. But in order to do the rule 2, I need to put a Lable at the same place where the validator is. Right? But the two won't stay at the same place. So I tried to use a CustomValidator, and write the ClientValidationFunction like this:rn rnAnd also, I have a server validate function which will process the rule 2.rnBut the problem is the client validate function never get called. So , do you guys have a better solution for this? I really appreciate.
we buy a digital certificate from Verisign and I want to use it in my asp.net program. when users download a file from my website,he/she can get a friendly notice as the second pics you can see at the following URL. you can get its chinese version when you download the PDF file on the right side of the user manul of "Microsoft Authenticode..I do sign my certificate and passed the step 6.when user click the link on my webpage,my signed certificate appears in the popup dialogbox called "security setting warning" . But when user rnclick "yes" , an error message " Windows Installer load program " appears showing: load program doesnot find the file : " H:\Windows\Downloaded Program Files\CONFLICT.3\Setup.INI".rnIn fact, the Setup.exe downloaded is created by MS rndeployment tool. other 2 file are also created : setup.ini rnand setup.msi. but i only can code-sign the setup.exe and rnput it in the HTML part of my webpage for the download.rnthe setup.msi can't be signed. rnHow can I merge setup.ini and setup.exe to one .exe file using Microsoft's own package toolinstead of installshield?rn http://www.verisign.com/resources/gd/authenticode/index.htmlrn
In office XP,i setup a so-called "Microsoft Development Environment".We can build a Exchange workflow project,but when I want to build it ,if fails and product an error news:"Unable to register the workflow sink for Exchange folder 'Http://birch/public',This could be a network question,a permission question,or Exchange server2000 not running properly on the server." I have try already many times and do many steps by what it said as above ,but i still fails.Who can tell me and solve it for me.Help!
seq_no ses_no quantityrn１ １ ３rn１ １ ５rn１ ４ ３ rn３ ３ ２rn１ ４ ６rn2 1 5rn2 3 4rn要求结果:rnseq_no且ses_no相同,求和.rnseq_no相同,ses_no比自己小的,求和为sum1.rnseq_no相同,ses_no比自己小于等于的,求和为sum2.rnrnseq_no ses_no quantity sum1 sum2rn１ １ ８ ８rn1 ４ ９ ８ １７rn2 1 5 5rn2 3 4 5 9rn３ ３ ２ 2rn
程序源码rn------------------------------------------------------rnrn<%@ page language="java" %>rn<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html"%>rnrnrn first struts application rn rn rn rn rnrnrnrn rn rn struts example show herern rnrnrnrn rn rn Symbol:rn rn rn rn rn rnrnrnrnrn-------------------------------------------------------------rnorg.apache.jasper.JasperException: Cannot retrieve mapping for action /Lookuprn我只粘了第一条的错误信息，这是什么意思rn英文直译过来就是 不能提取映射 rn-------------rn这是我的在struts-config.xml中的配置rn rn rn rn rn我不明白为什么出这样的错误信息，希望大家指救 rn