You can databind your grid to many types of objects. Typically a datasource
is an instance of IEnumerable, IListSource, IDataSource, or
IHierarchicalDatasource interface. All arrays and collections will qualify
(didn't check but pretty sure).
So organize your data in one of these collection objects and databind to it.
--
Eliyahu Goldin,
Software Developer & Consultant
Microsoft MVP [ASP.NET]
http://msmvps.com/blogs/egoldin http://usableasp.net
"etam" <od*******@gmail.comwrote in message
news:11**********************@m36g2000hse.googlegr oups.com...
Hi,
what is the best way to show data which is generated dynamically (not
from database) in a GridView?
Thanks in advance,
Etam.