K
karthik.charan
Hi
I am a new to VB.net, I am using access as my database
I am trying to show some tables in Vb using Datagrids, I am able to add
rows to the table and update those changes to the access file, but when
i try to delete rows its not being updated to the database,
Any help will be appreciated,
The code for the button click event is as follows:
Dim a As Integer
a = DataSet11.tietransverseempty.Count
OleDbDataAdapter2.Update(DataSet11, "tietransverseempty")
While (a > TextBox18.Text)
DataSet11.tietransverseempty.Rows(a - 1).Delete()
DataSet11.tietransverseempty.AcceptChanges()
a = DataSet11.tietransverseempty.Count
End While
I am a new to VB.net, I am using access as my database
I am trying to show some tables in Vb using Datagrids, I am able to add
rows to the table and update those changes to the access file, but when
i try to delete rows its not being updated to the database,
Any help will be appreciated,
The code for the button click event is as follows:
Dim a As Integer
a = DataSet11.tietransverseempty.Count
OleDbDataAdapter2.Update(DataSet11, "tietransverseempty")
While (a > TextBox18.Text)
DataSet11.tietransverseempty.Rows(a - 1).Delete()
DataSet11.tietransverseempty.AcceptChanges()
a = DataSet11.tietransverseempty.Count
End While