By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,969 Members | 1,615 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,969 IT Pros & Developers. It's quick & easy.

ASP.NET Gridview

P: n/a
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.
Jun 5 '07 #1
Share this Question
Share on Google+
2 Replies


P: n/a
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]la*****@lamsoft.netwrote in message
news:Oa**************@TK2MSFTNGP06.phx.gbl...
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.

Jun 5 '07 #2

P: n/a
Thank you very much.
"Eliyahu Goldin" <RE**************************@mMvVpPsS.orgwrote in
message news:%2****************@TK2MSFTNGP02.phx.gbl...
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]la*****@lamsoft.netwrote in message
news:Oa**************@TK2MSFTNGP06.phx.gbl...
>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.


Jun 6 '07 #3

This discussion thread is closed

Replies have been disabled for this discussion.