Justin Cooney

Web Development Tips and Examples

Category: VB.NET

  • GUIDs are useful tools for .NET developers and Windows developers in general. If you need a unique value for your code, then a GUID (Globally Unique Identifier) is one of the best ways to go. One thing to keep in mind when working with GUIDs is that there is always a chance of getting a…

  • I have been working with ASP.NET collections and thought a more detailed look into one of the most useful classes also know as the Dictionary collection object is in order. To review: the Dictionary class is part of the System.Collections.Generic Namespace. If you haven’t already, then it’s worth having a look at the list of collections contained…

  • If you are adding parameters to a SqlCommand object then you can use either Parameters.Add or Parameters.AddWithValue. The Parameters.Add syntax requires you to explicitly specify the DataType of the parameter you are passing, while the Parameters.AddWithValue syntax implicitly attempts to convert the parameters you pass in. When choosing which method you want to use, you should be aware that…