Click here to Skip to main content
15,891,136 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: Create random Number Pin
Christian Graus9-Mar-09 11:09
protectorChristian Graus9-Mar-09 11:09 
AnswerRe: Create random Number Pin
N a v a n e e t h9-Mar-09 4:09
N a v a n e e t h9-Mar-09 4:09 
AnswerRe: Create random Number Pin
Jack Li9-Mar-09 4:59
Jack Li9-Mar-09 4:59 
GeneralRe: Create random Number Pin
N a v a n e e t h9-Mar-09 5:09
N a v a n e e t h9-Mar-09 5:09 
GeneralRe: Create random Number Pin
Abhishek Sur9-Mar-09 6:04
professionalAbhishek Sur9-Mar-09 6:04 
AnswerRe: Create random Number Pin
Perisic, Aleksandar9-Mar-09 7:55
Perisic, Aleksandar9-Mar-09 7:55 
GeneralRe: Create random Number Pin
Yusuf9-Mar-09 8:20
Yusuf9-Mar-09 8:20 
GeneralRe: Create random Number [modified] Pin
Perisic, Aleksandar9-Mar-09 9:05
Perisic, Aleksandar9-Mar-09 9:05 
Really, how did you get to this "Are you implying you can generate the same GUID in one computer?"
I said GUID is never a random number on one computer. Random. Use a GUID tool available out there and see for yourself.

GUID is not used to create a random number. It is used only to create a unique number.

For a GUID on one computer, several parameters are used (some of which are fixed some are dynamic) like netwok card ID, current time, etc.... so that when they are combined it is almost impossible to create the same GUID ever again during the time of the entire Universe (yes, that unique). Not random. Unique.

Now once this number is created, if you keep asking for another one on the same machine, you get numbers that are very close to each other, sometimes even in increasing order. Random? Not even close.

GUID could be taken maybe as somewhat random (or better say unpredictable) if you have computers in a network and then you take one time one GUID from each. Even then that is only one series with some form of randomness that you can get. But even a network card ID, time etc that are combined in a GUID have some format, so no, a GUID is really not random in any sense and should never be used as such unless a developer really need some form of "unknown, unpredictable number".
GeneralRe: Create random Number Pin
Yusuf9-Mar-09 10:54
Yusuf9-Mar-09 10:54 
GeneralRe: Create random Number Pin
Perisic, Aleksandar9-Mar-09 11:44
Perisic, Aleksandar9-Mar-09 11:44 
QuestionMake Browser Window Blink in Task Bar Pin
rushi_gavankar9-Mar-09 3:18
rushi_gavankar9-Mar-09 3:18 
AnswerI am pretty sure you can't do this Pin
Gregory Gadow9-Mar-09 7:12
Gregory Gadow9-Mar-09 7:12 
QuestionUpdatePanel without ScriptManager Pin
.NET- India 9-Mar-09 2:45
.NET- India 9-Mar-09 2:45 
AnswerRe: UpdatePanel without ScriptManager Pin
Abhishek Sur9-Mar-09 2:49
professionalAbhishek Sur9-Mar-09 2:49 
GeneralRe: UpdatePanel without ScriptManager Pin
Jack Li9-Mar-09 5:09
Jack Li9-Mar-09 5:09 
GeneralRe: UpdatePanel without ScriptManager Pin
Abhijit Jana9-Mar-09 6:00
professionalAbhijit Jana9-Mar-09 6:00 
AnswerRe: UpdatePanel without ScriptManager Pin
Rutvik Dave9-Mar-09 10:10
professionalRutvik Dave9-Mar-09 10:10 
QuestionUpdate a gridview row without edit Pin
foryou9-Mar-09 2:35
foryou9-Mar-09 2:35 
AnswerRe: Update a gridview row without edit Pin
Yusuf9-Mar-09 4:53
Yusuf9-Mar-09 4:53 
GeneralRe: Update a gridview row without edit Pin
foryou9-Mar-09 5:04
foryou9-Mar-09 5:04 
AnswerRe: Update a gridview row without edit Pin
kumar_k5089-Mar-09 21:58
kumar_k5089-Mar-09 21:58 
QuestionHow to execute multiple records on the Page Load Event Pin
sjs4u9-Mar-09 2:25
sjs4u9-Mar-09 2:25 
AnswerRe: How to execute multiple records on the Page Load Event Pin
Abhishek Sur9-Mar-09 2:42
professionalAbhishek Sur9-Mar-09 2:42 
GeneralRe: How to execute multiple records on the Page Load Event Pin
sjs4u9-Mar-09 2:54
sjs4u9-Mar-09 2:54 
GeneralRe: How to execute multiple records on the Page Load Event Pin
Abhijit Jana9-Mar-09 3:29
professionalAbhijit Jana9-Mar-09 3:29 

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.