Click here to Skip to main content
15,910,877 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hello friends

what is guid??
and how i can use in our application(webapplication)
Posted

Guid is a globally unique identifier or a 16 byte value which is guaranteed to be unique everywhere.

Guid's are mostly used for "identity" columns or values. This saves a round trip to the database as you already know the ID and don't have to wait for the database to tell you what the primary key value was for your insert.
 
Share this answer
 
Comments
AditSheth 15-Sep-11 3:34am    
My vote for 5.
its good..
Here is example of how to use guid http://msdn.microsoft.com/en-us/library/system.guid.newguid.aspx
Mehdi Gholam 15-Sep-11 3:42am    
Thanks!
Uday P.Singh 15-Sep-11 5:49am    
my 5!
A Guid is a Global Unique Identifier - which means it is a number that it is very, very very unlikely will be duplicated in your lifetime, let alone application. There are used for Database Id, device Id, software Id - anywahere where you want to uniquely identify an instance of something.

Wiki: http://en.wikipedia.org/wiki/Globally_unique_identifier[^]
 
Share this answer
 
 
Share this answer
 
v2
A Guid is a globally unique identifier and check the below links


http://searchcio-midmarket.techtarget.com/definition/GUID
 
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