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

Re: DataGridView by Dave

Dave
Thu Aug 17 12:41:01 CDT 2006

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.

--
Dave Sexton

"gptvitsion" <gpvision@wanadoo.fr> wrote in message news:%239B2uxSwGHA.1224@TK2MSFTNGP03.phx.gbl...
> 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
>