Trint,
Well, you are binding the grids to something. You just have to store
what you originally bound to (it can't be a data reader, since they are
forward only, read only) and then rebind to the grids when you want to
reset. You will also have to remember the layout (if you can't determine it
from the underlying data) and set that as well.
--
- Nicholas Paldino [.NET/C# MVP]
-
mv*@spam.guard.caspershouse.com
"trint" <tr***********@gmail.comwrote in message
news:11**********************@m36g2000hse.googlegr oups.com...
>I have 7 gridviews on one aspx page that kindof work like a javascript
menu. How can I reset them after their use and put back into original
state upon creation (so that they could easily be used again)? If
possible, can you show me a code snippet that sets the gridview and
the datasource in their original condition before binding?
Any help is appreciated.
Thanks,
Trint