sir.
please give about
How to generate bill numbers dynamically...
How to generate bill numbers dynamically....
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
vel kumar46 reputationPosted Oct 11, 2012, 11:37 PM EDT
Priya LingeRank #785 · 2.9K reputationPosted Oct 11, 2012, 11:49 PM EDT
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.