Datagrid clear

  • Thread starter Thread starter Alan
  • Start date Start date
A

Alan

I have set the datasource of the datagrid to a datatable.
How do I clear the datagrid contents before refill the datagrid everytime ?
 
The problem I got is I may fill the datagrid several times with different
datatable contents so I need to clear the datagrid before I fill in
otherwise the new contents will append to the previous contents.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top