Click here to Skip to main content
15,891,906 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hi friends,

can any one knows how to generate 12 digit random number(only digits).
Posted
Comments
Sergey Alexandrovich Kryukov 9-Feb-13 0:43am    
"Can anyone..." is not a valid question.
Everyone who is able to read help pages would answer you pretty soon. So, your "question" is answered.

Now, as I'm sure you are also the one who can "Read The Following Manual"&tm;, just do it by yourself. If you face a problem, show what did you try.
—SA
Arunprasath Natarajan 9-Feb-13 0:58am    
If it is from SQL end, you can try with Rand()
bbirajdar 9-Feb-13 2:48am    
I know... ( I guess the question is answered by this comment..)

I'm guessing that English is not your first language so the comments are suggesting that perhaps you meant to write "Would someone tell me how to generate a 12 digit random number"

You should really try to find the solution yourself first - a google search using the title of your question followed by "vb.net" generates over 47,000 results - pick one and give it a try.

If you hit any problems after that, then post your code with an explanation of the problem and you might get some more meaningful help.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900