Geeks With Blogs
Jeroen Bourdeaud'hui web application developer vb
Just to remember: new Guid() != Guid.NewGuid()

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

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