• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 400
  • 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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone 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