G
Guest
The string test = 'Exp'. I verified in Debug mode that test has 'Exp' in the
first line and the 2nd line of code. Showing that
dsVehicle.Tables["VehDetail"].Rows[prevRow]["Model"] has the proper changed
text from null string to 'Exp'. However, the numOfRows shows 0 after
execution. I exit that form and re-enter and the 'Exp' is not showing on the
form nor the database. Can someone tell me what I'm doing wrong here?
Thanks, Alpha
dsVehicle.Tables["VehDetail"].Rows[prevRow]["Model"] = test;
test = dsVehicle.Tables["VehDetail"].Rows[prevRow]["Model"] .ToString();
dsVehicle.AcceptChanges();
conVeh.Open();
int numOfRows = sdaVehicle.Update(dsVehicle, "VehDetail");
conVeh.Close();
first line and the 2nd line of code. Showing that
dsVehicle.Tables["VehDetail"].Rows[prevRow]["Model"] has the proper changed
text from null string to 'Exp'. However, the numOfRows shows 0 after
execution. I exit that form and re-enter and the 'Exp' is not showing on the
form nor the database. Can someone tell me what I'm doing wrong here?
Thanks, Alpha
dsVehicle.Tables["VehDetail"].Rows[prevRow]["Model"] = test;
test = dsVehicle.Tables["VehDetail"].Rows[prevRow]["Model"] .ToString();
dsVehicle.AcceptChanges();
conVeh.Open();
int numOfRows = sdaVehicle.Update(dsVehicle, "VehDetail");
conVeh.Close();