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
I have an automated API with a secure frontend/backend structure where backend object attributes are hidden with frontend proxy classes.
basically, when accessing an object from the frontend, you get ...
I'm not a c++ dev but a VB.NET developer. I will first explain my scenario so that the question would be clear. Suppose I had a form which ...
I am working on program that will connect to MySQL database, colect data from table and show them in grid. Where user can edit cell, and then on ...