Click here to Skip to main content
15,909,373 members
Home / Discussions / ASP.NET
   

ASP.NET

 
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 
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 
As you wish but:
A GUID is a 128-bit integer (16 bytes) that can be used across all computers and networks wherever a unique identifier is required. Such an identifier has a very low probability of being duplicated.

A GUID has nothing in common with random numbers, it is as random as credit card number is random. You will probably not guess the number of my credit card but it is still not random, it is a structured number with very specific parts. The similar way GUID has structure and is not random.

A GUID can be based on a random generator, but we do not know wheather it is or not, and GUID library support on Microsoft
OS is not, so we should not use it for creating randomness.

However, if the size cost is acceptable, creating unique numbers using GUID's is a good solution, especially knowing that it is unique in the Universe Smile | :) so we can move around records and we will never find two objects with the same ID.
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 
AnswerRe: How to execute multiple records on the Page Load Event Pin
Jack Li9-Mar-09 5:26
Jack Li9-Mar-09 5:26 
QuestionVS 2008 http 404 page not found error Pin
hozsam9-Mar-09 1:14
hozsam9-Mar-09 1:14 

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.