Dear All
In my window application I want to update the field/column.
my codes are
Try
Dim cb As New OleDb.OleDbCommandBuilder(da)
i = CInt(AdmissionIDLabel1.Text)
Dim linenum As Integer = ds.Tables("Table").Rows.Count
For i As Integer = 0 To linenum - 1
ds.Tables("Table").Rows(i).Item(26) = AdmissionLabel3.Text
ds.Tables("Table").Rows(i).Item(27) = Term1Label1.Text
Next
da.Update(ds, "Table")
MessageBox.Show("Data updated")
Catch ex As Exception
MessageBox.Show("There was an Error processing your request. Please Try again." & vbCrLf & vbCrLf &"Original Error:" & vbCrLf & vbCrLf & ex.ToString, "Error", MessageBoxButtons.OK, MessageBoxIcon.Error)
End TryI am getting below error
sunil