HOW CAN I DELETE ALL RECORDS ON A DATAGRID TABLE IN JUST ONE BUTTON..
Datagrid1.DataSource = Nothing
and also try this
hope this helps you . . .
Edited by rishif2
i got an error saying "Method or Data Member not Found!"..huhuhuhu is it possible to delete all the records in just one button?
So you want to delete everything in the DataGrid, (recordset)
Private Sub Delete_cmd_Click Do While Not Adodc1.Recordset.EOF Adodc1.Recordset.MoveFirst Adodc1.Recordset.Delete Adodc1.Recordset.Update Adodc1.Recordset.MoveNext Loop End Sub
i got an error sir.. pls look at the picture that i uploaded.thanx
Edited by EXTRA_RICE: error
its ok and well working sir..thanx a lot!!
Edited by EXTRA_RICE: typographical
We have an Access mdb database originally built in the late 90s. We currently use MS Access 2000 on Win7.
Since switching to win7 from XP the database keeps getting ...
So I am having trouble knowing what to return in the bottom method any help would be appreciated .
Here are the specifications for completing the StringArray class:
(a) In ...
I´m not a professional in vb.net, but i try to make a tool for my colleague and me. I got a XMLTreeView on my form and i load a ...