Geeks With Blogs
Jeroen Bourdeaud'hui web application developer

Just to remember:


 

when you want a new guid:

Dim g As New Guid()

--> the value of g is empty

Just call:

Dim g As Guid = Guid.NewGuid()

and everything works fine!

Posted on Friday, May 13, 2011 10:30 AM C# , vb | Back to top


Comments on this post: Just to remember: new Guid() != Guid.NewGuid()

No comments posted yet.
Your comment:
 (will show your gravatar)


Copyright © Jeroen Bourdeaud'hui | Powered by: GeeksWithBlogs.net