G
Guest
I am experiancing a problem filling a dataset. I am getting a Value cannot be
null exception and can't figure out why. Here is the code what the heck could
be going on?
Dim conn As New SqlConnection(ConnectionString)
Dim adapter As New SqlDataAdapter
strSQL = "SELECT * FROM ChiefComplaints"
adapter.SelectCommand = New SqlCommand(strSQL, conn)
adapter.Fill(dataSet)
this is right out of the help section. I've tested the connection string and
it opens a connection with no problems.
null exception and can't figure out why. Here is the code what the heck could
be going on?
Dim conn As New SqlConnection(ConnectionString)
Dim adapter As New SqlDataAdapter
strSQL = "SELECT * FROM ChiefComplaints"
adapter.SelectCommand = New SqlCommand(strSQL, conn)
adapter.Fill(dataSet)
this is right out of the help section. I've tested the connection string and
it opens a connection with no problems.