Pages

Subscribe:

Ads 468x60px

Thursday, March 1, 2012

how to generate random number in asp.net

here is the way how to generate a random number in asp.net using c#
Random RandomClass = new Random();
        int RandomNumber = RandomClass.Next(4, 14);
        TextBox1.Text = Convert.ToString(RandomNumber);

No comments:

Post a Comment