| 发表于:2007-01-13 17:01:439楼 得分:0 |
看看我的随机验证码,看看对你有无启发: public static string yanzhengma(byte length) { system.random rand=new random(); string result= " "; for (int i=0;i <length;i++) { result+=rand.next(3); } return result; } 使用: x3=db.yanzhengma(2); this.labelysxs.text= " <font color=#ff3300> 服务器繁忙,请稍等: "+x3.tostring()+ " 秒! </font> "; 顺便帮忙考虑下我的问题,帮顶一下!!! http://community.csdn.net/expert/topic/5293/5293251.xml?temp=.8407251 | | |
|