You can databind to any collection class. Just set myGrid.DataSource =
myCollectionObject.
--
Eliyahu Goldin,
Software Developer & Consultant
Microsoft MVP [ASP.NET]
http://msmvps.com/blogs/egoldin
http://usableasp.net
"LamSoft" <[nospam](E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Is there any method that the gridview is binded to a dataset, but a
> dataset is not binded to a dataadapter, but bind to a object collector?
>
> I dont want to use foreach and response.write to loop the collector.
>
> Thank you.
>