I keep getting the error Guid should contain 32 digits with 4 dashes (xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx) when i try to make a guid.

string entryNum = Convert.toString(entryNo);
 Guid key = new Guid(entryNum);

thanks i understand that now but is there a way to covert a string to a guid? i.e the string name = ben i would like to make a guid representing that.

That's not the purpose of Guid, I think.

Guid.NewGuid() creates a unique identifier.

Thanks that worked didn't even know I could do that.

Thanks Again,