sir.
please give about
How to generate bill numbers dynamically...
Loading
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Priya LingePosted Oct 12, 2012, 3:49 AM
Random randnum = new Random();
1.int num = randnum.Next();
2.int num = random.Next(100);
It generate a positive number up to 100 including 0.
3.int num = random.Next(1, 100);
It generates a number between 1 and 100.
For more information check below link.
http://www.c-sharpcorner.com/UploadFile/mahesh/RandomNumber11232005010428AM/RandomNumber.aspx
Hope this will help you.
Thanks.
vel kumarPosted Oct 12, 2012, 3:37 AM