• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 396
  • Last Modified:

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
0
demoniumz
Asked:
demoniumz
  • 4
1 Solution
 
demoniumzAuthor Commented:
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)
0
 
demoniumzAuthor Commented:
can nayone tell me how to  cleat the datagrid view
0
 
demoniumzAuthor Commented:
i dont beleve i ask a  question that is not understand so please help
0
 
demoniumzAuthor Commented:
Me.NicolaouDBDataSet.OrdersDetails.Clear()
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

  • 4
Tackle projects and never again get stuck behind a technical roadblock.
Join Now