S Suresh Nov 3, 2003 #2 There a Guid object that you have to instantiate and call it's NewGuid method. (in C#) Guid g = new Guid(); g = g.NewGuid(); HTH, Suresh.
There a Guid object that you have to instantiate and call it's NewGuid method. (in C#) Guid g = new Guid(); g = g.NewGuid(); HTH, Suresh.
B Brian W Nov 3, 2003 #3 Actually, NewGuid is a static method so you can't do that. Instead try Guid g = Guid.NewGuid(); Hope this helps Brian W
Actually, NewGuid is a static method so you can't do that. Instead try Guid g = Guid.NewGuid(); Hope this helps Brian W
K Kevin Spencer Nov 3, 2003 #4 It is not necessary to create an instance of the Guid class to invoke the NewGuid() method. It's a static (shared) method. You can simply call: Guid g = Guid.NewGuid(); -- HTH, Kevin Spencer Microsoft MVP ..Net Developer http://www.takempis.com Big Things are made up of Lots of Little Things.
It is not necessary to create an instance of the Guid class to invoke the NewGuid() method. It's a static (shared) method. You can simply call: Guid g = Guid.NewGuid(); -- HTH, Kevin Spencer Microsoft MVP ..Net Developer http://www.takempis.com Big Things are made up of Lots of Little Things.
A Atila B. Nov 4, 2003 #5 This should be relatively easy. Here's a C# sample: System.Guid myGUID = System.Guid.NewGuid(); Response.Write(myGUID.ToString());
This should be relatively easy. Here's a C# sample: System.Guid myGUID = System.Guid.NewGuid(); Response.Write(myGUID.ToString());