I created DataTable in my project.Fill it with table in database.
Dim myDataTable As New DataTable(Table_Name)
Dim myLocalConnection As New SqlConnection(_ConnectionString)
myLocalConnection.Open()
Dim mySqlDataAdapter As New SqlDataAdapter()
myCommand.Connection = myLocalConnection
mySqlDataAdapter.SelectCommand = myCommand
mySqlDataAdapter.Fill(myDataTable)
Now i want to delete a specific row from tableby condition.
And update the table on database. with SqlDataAdapter.Update()
method.
mySqlDataAdapter.Update(myDataTable)
How could i do this? help...