hey guys![]()
just wondering if anyone can help. I'm getting this error:
VB Code:
An unhandled exception of type [B]System.Data.SqlClient.SqlException [/B] occurred in system.data.dll Additional information: System error.
and it occurs in this Sub: (in red)
VB Code:
Public Sub UpdateCombo() Dim RSAllCategories As SqlClient.SqlDataReader SqlUpdateCommand1.CommandText = "Exec ProblemCategoryList" [COLOR=Red]RSAllCategories = SqlUpdateCommand1.ExecuteReader()[/COLOR] Do Until RSAllCategories.IsClosed cmbSelect.Items.Add(RSAllCategories.GetValue("ProblemCategory").Value) RSAllCategories.NextResult() Loop End Sub
whats wrong with the code?![]()




Reply With Quote