摘要:
1 方法: 2 public string RndNum(int VcodeNum) 3 { 4 string Vchar = "0,1,2,3,4,5,6,7,8,9"; 5 string[] VcArray = Vchar.Split(new Char[] { ',' }); 6 string VNum = ""; 7 //int temp = -1; 8 Random rand = new Random(); 9 for (int i = 1; i < VcodeNum + 1; i++)10 {11 int t = rand 阅读全文
摘要:
<asp:TextBox ID="TextBox1" runat="server" onkeyup="value=value.replace(/[^\d]/g,'')"></asp:TextBox> 阅读全文