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.
 
Back
Top