Im trying to update a datagrid and a text box value in access database.
both shld be saved in the same coloumn.,unfortunately its not happening.
they were gettign saved in a deifferent rows.
sqlQRY = "Insert Into tblPlot(SurveyNo)"
sqlQRY = sqlQRY & "Values"
sqlQRY = sqlQRY & "('" & Me.Text.ToString & "')"
.CommandText = sqlQRY
.Connection = conn
DataGridView1.[ReadOnly] = False
save_btn.Enabled = True
MsgBox("Data Saved:" & Me.Text.ToString)
Edited 5 Years Ago by vammy: n/a