Click here to Skip to main content
15,887,683 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: Random 8 digit number Pin
Richard Deeming28-Jul-14 5:26
mveRichard Deeming28-Jul-14 5:26 
GeneralRe: Random 8 digit number Pin
byka28-Jul-14 5:51
byka28-Jul-14 5:51 
GeneralRe: Random 8 digit number Pin
Richard Deeming28-Jul-14 6:12
mveRichard Deeming28-Jul-14 6:12 
GeneralRe: Random 8 digit number Pin
byka28-Jul-14 6:20
byka28-Jul-14 6:20 
GeneralRe: Random 8 digit number Pin
Richard Deeming28-Jul-14 6:22
mveRichard Deeming28-Jul-14 6:22 
GeneralRe: Random 8 digit number Pin
byka29-Jul-14 1:51
byka29-Jul-14 1:51 
GeneralRe: Random 8 digit number Pin
byka29-Jul-14 1:53
byka29-Jul-14 1:53 
GeneralRe: Random 8 digit number Pin
Richard Deeming29-Jul-14 2:14
mveRichard Deeming29-Jul-14 2:14 
If you don't specify min and max values, you'll get any 32-bit number returned, which will probably not be 8 digits.

If you always want the number to be 8 digits, and you don't want to pass the parameters, then you can hard-code the min and max values within the function.



"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer


GeneralRe: Random 8 digit number Pin
byka29-Jul-14 2:31
byka29-Jul-14 2:31 
GeneralRe: Random 8 digit number Pin
Richard Deeming29-Jul-14 5:56
mveRichard Deeming29-Jul-14 5:56 
QuestionHow to create ASP.NET database driven dynamic website, Database Connection, Tutorial Pin
Biplob Singha Shee28-Jul-14 2:01
Biplob Singha Shee28-Jul-14 2:01 
SuggestionRe: How to create ASP.NET database driven dynamic website, Database Connection, Tutorial Pin
Richard Deeming28-Jul-14 2:50
mveRichard Deeming28-Jul-14 2:50 
GeneralRe: How to create ASP.NET database driven dynamic website, Database Connection, Tutorial Pin
Biplob Singha Shee28-Jul-14 3:20
Biplob Singha Shee28-Jul-14 3:20 
GeneralRe: How to create ASP.NET database driven dynamic website, Database Connection, Tutorial Pin
Richard Deeming28-Jul-14 3:46
mveRichard Deeming28-Jul-14 3:46 
QuestionWeb Crawling Pin
JaypalSinh9026-Jul-14 19:56
JaypalSinh9026-Jul-14 19:56 
AnswerRe: Web Crawling Pin
Kornfeld Eliyahu Peter26-Jul-14 20:33
professionalKornfeld Eliyahu Peter26-Jul-14 20:33 
GeneralRe: Web Crawling Pin
Sibeesh KV29-Sep-14 1:47
professionalSibeesh KV29-Sep-14 1:47 
GeneralRe: Web Crawling Pin
Kornfeld Eliyahu Peter29-Sep-14 2:08
professionalKornfeld Eliyahu Peter29-Sep-14 2:08 
GeneralRe: Web Crawling Pin
Sibeesh KV29-Sep-14 2:12
professionalSibeesh KV29-Sep-14 2:12 
Questionasp.net Pin
naralasaimanoj25-Jul-14 6:20
naralasaimanoj25-Jul-14 6:20 
AnswerRe: asp.net Pin
sumitkmr6225-Jul-14 8:20
sumitkmr6225-Jul-14 8:20 
AnswerRe: asp.net Pin
thatraja25-Jul-14 16:03
professionalthatraja25-Jul-14 16:03 
AnswerRe: asp.net Pin
Swinkaran3-Aug-14 16:41
professionalSwinkaran3-Aug-14 16:41 
AnswerRe: asp.net Pin
Sibeesh KV29-Sep-14 1:49
professionalSibeesh KV29-Sep-14 1:49 
QuestionMobile phone detection Pin
Member 1087082524-Jul-14 19:01
Member 1087082524-Jul-14 19:01 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.