Thursday, July 29, 2010

Guid to String and viceversa

Label1.Text= TypeDescriptor.GetConverter(myGuid).ConvertTo(myGuid, typeof(string)).ToString();
Label2.Text= TypeDescriptor.GetConverter(myGuid).ConvertFrom(myGuidString).ToString();

No comments:

Post a Comment