DataGridView

  • Thread starter Thread starter gptvitsion
  • Start date Start date
G

gptvitsion

Hello

what's the best to clear (delete) the content of a DataGridView ?
I didn't find any methods to do this.
Thanks for your help

Philippe
 
Hi Philippe,

If your bound to a data source clear the source or set the DataSource property = null. Otherwise, try calling Clear() on the Rows
property.
 
Back
Top