I am attempting to use code like the following
Dim command as New sqlcommand
Unfortunately sqlcommand isn't recognized by my vb.NET 2010. Is there anything I have to do before using that line?
Have you imported the namespace
System.Data.SqlClient at the top of your code?
Imports System.Data.SqlClient ... Sub newDatabase() Dim command as New SqlCommand() ... End Sub