Jun 12, 2013

How to create GUID in C# use Asp.net:

6/12/2013 02:10:00 AM





Explain GUID:
   GUID is Global unique identifier it can be used namespace
    Using System;
 
Assemble name is: mscorlib.dll
 
Examples:
 
Property method:
 
    public Guid ID { get; set; }   
 
Public Guid ID ()
{
   Guid EmployeeID;
   EmployeeID=Guid.NewGuid();
   Response.write(EmployeeID);
   Response.write(Guid.NewGuid());
} 
 
Output:
 
0f8fad5b-d9cb-469f-a165-70867728950e
7c9e6679-7425-40de-944b-e07fc1f90ae7
 

Written by

We are Creative Blogger Theme Wavers which provides user friendly, effective and easy to use themes. Each support has free and providing HD support screen casting.

0 comments:

Post a Comment

Recent Posts
Popular Articles

 

© 2013 MUNISH ORACLE DBA& .Net Developer. All rights resevered. Designed by Templateism

Back To Top