G
Guest
I am trying to do a simple update of a single row with the dataset below but
I keep getting this error:
"System.NullReferenceException: Object reference not set to an instance of
an object."
Here is the code:
Me.sqlDataAdapter1.Fill(DataSet1, "Queue")
Dim QueueRow As DataRow
QueueRow = DataSet1.Tables("Queue").Rows.Find(myCustomerID)
Me.sqlDataAdapter1.Update(DataSet1, "Queue")
I have tried replacing all variables with strings with no luck
Please Help!
Thanks, Justin.
I keep getting this error:
"System.NullReferenceException: Object reference not set to an instance of
an object."
Here is the code:
Me.sqlDataAdapter1.Fill(DataSet1, "Queue")
Dim QueueRow As DataRow
QueueRow = DataSet1.Tables("Queue").Rows.Find(myCustomerID)
ERROR HERE< QueueRow(month) = ProductList.ToString()
Me.sqlDataAdapter1.Update(DataSet1, "Queue")
I have tried replacing all variables with strings with no luck
Please Help!
Thanks, Justin.