[thelist] How to empty a gridview in 2.0

Anthony Baratta anthony at baratta.com
Fri Apr 20 13:34:16 CDT 2007

What exactly are you attempting to do that needs the Datagrid "reset"? The idea of the Datagrid is to give you a visual link to your data, edit / delete / update. If you don't want to see your data anymore - unbind the datasource, or bind in an empty datasource.

-----Original message-----
From: "Casey Crookston" caseyc at IntelliSoftmn.com
Date: Fri, 20 Apr 2007 11:21:45 -0700
To: thelist at lists.evolt.org
Subject: [thelist] How to empty a gridview in 2.0

> In .net 2.0, how do you empty all rows from a gridview?  I don't want to
> delete them from the database, I just want to wipe the gridview clean
> and start over.  Been googling this for a bit and not finding anything.

More information about the thelist mailing list