Link to home
Start Free TrialLog in
Avatar of demoniumz
demoniumz

asked on

how to clear datagrid view? vb 2005

Hello  i have a datagridview bound to a table.I have a buton to  clear what is inside the datagridview .What is needed? push the button and the datagrid view clearall the data from inside


using vb 2005 linked from ms access 2003
Avatar of demoniumz
demoniumz

ASKER

delete button is now work clear button not can u help pls


    Private Sub delbut_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles delbut.Click

        OrdersDetailsDataGridView.Rows.Remove(OrdersDetailsDataGridView.CurrentRow)
can nayone tell me how to  cleat the datagrid view
i dont beleve i ask a  question that is not understand so please help
ASKER CERTIFIED SOLUTION
Avatar of demoniumz
demoniumz

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial