asp.net生成验证码的方法: public string RandomNum(int n) // { //定义一个包括数字、大写英文字母和小写英文字母的字符串 string strchar = "0,1,2,3,4,5,6,7,8,9,A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V,W,X,Y,Z,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z"; //将strchar字符串转化为数组 //String.Split 方法返回包含此实例... Read More
posted @ 2012-04-30 17:26 小梁的程序世界 Views(965) Comments(0) Diggs(0)