i want to generate a random number which contain mmyy from date of birth,IND and and rest a random number....
my data is stored in database..i have to retrieve it from sqlserver..
Generating random number
3 Answers
Know the answer? Post it. Somebody with the same question will find it here.

FroglegRank #1,020 · 1.9K reputationPosted Jan 26, 2011, 8:53 PM EST
Random random = new Random();
int i = random.Next(min, max);
min low integer
max high integer
So i will be random integer between min and max
Suthish NairRank #92 · 22.8K reputationPosted Jan 26, 2011, 9:59 PM EST
mmyy + "IND" + i.ToString();
Suthish NairRank #92 · 22.8K reputationPosted Jan 30, 2011, 8:18 AM EST
So other members can easily find the answers.