Oooooooh NOOOOOOO!!!!
I spoke too soon! Now I'm getting the error in a different sub on the same form.
The error:
VB Code:
An unhandled exception of type 'System.Data.SqlClient.SqlException' occurred in system.data.dll
Additional information: System error.
is back.
The Code:
VB Code:
Public Sub cmdAdd_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles btnAdd.Click
If txtNew.Text <> "" Then
SqlInsertCommand1.CommandText = "ProblemCategoryAdd '" & txtNew.Text & "'"
SqlInsertCommand1.CommandType = CommandType.StoredProcedure
SqlInsertCommand1.Parameters.Clear()
[B]SqlInsertCommand1.ExecuteReader()[/B]
txtNew.Text = ""
txtNew.Select()
End If
UpdateCombo()
End Sub
is different.
What did I screw up now???