How to Create/Generate a New GUID using Vb.Net, C# and Vb.Script
Suppose i have got a guid in Query String likehttp://localhost:3214/Default.aspx?id=
9D2B0228-4D0D-4C23-8B49-01A698857709
or
like this
// Without Dashes
http://localhost:3214/Default.aspx?id=
9D2B02284D0D4C238B4901A698857709
if (Request.QueryString["id"] != null)
string Id = Request.QueryString["id"];
Guid guid = new Guid(Id);
if(guid!= Guid.Empty)
{
//Use id here to retreive the record.
}