2011年8月11日

摘要: ByStephanus van Staden| 17 Sep 2008How to create a captcha for Visual WebGUI by implementing IGatewayControl.Sponsored LinksIntroductionI am currently developing a system usingVisualWebGUIand C# as the programming language.click here. I needed a mechanism to verify that the registration to the websi 阅读全文
posted @ 2011-08-11 21:00 kingang 阅读(445) 评论(0) 推荐(0)
摘要: 先介绍一下C#生成一个随机数的方法:Random rdm = new Random();int b = rdm.Next(0,100); //从0到100的随机数要生成即包含字符又包含数字的字符串也很简单,有一个方法:System.Guid.NewGuid()System.Guid.NewGuid().ToString().Substring(0, 6); //随机生成6位即包含字符又包含数字的字符串 阅读全文
posted @ 2011-08-11 20:55 kingang 阅读(623) 评论(0) 推荐(0)

导航