Hi all,
I displaed some random numbers in a textbox..
I am having a captcha image and i would like to display that random numbers in captcha image..
The code i used to display the random numbers in a textbox is shown below...
Random r = new Random();
StringBuilder sb = new StringBuilder() ;
string s= "A67Bt12uvwxyEF XYZaKLMpqrsz345 NOPQRSTUVWbcdef ghijklmno890";
for(int i=0;i<10;i++)
{
txtRandom.Text = sb.Append(s[r.Next(i)]).ToString();
}
Please help me display the random numbers in an image...
Regards,
Mathew
I displaed some random numbers in a textbox..
I am having a captcha image and i would like to display that random numbers in captcha image..
The code i used to display the random numbers in a textbox is shown below...
Random r = new Random();
StringBuilder sb = new StringBuilder() ;
string s= "A67Bt12uvwxyEF XYZaKLMpqrsz345 NOPQRSTUVWbcdef ghijklmno890";
for(int i=0;i<10;i++)
{
txtRandom.Text = sb.Append(s[r.Next(i)]).ToString();
}
Please help me display the random numbers in an image...
Regards,
Mathew
Comment