PC Review


Reply
Thread Tools Rate Thread

ASP.NET Gridview

 
 
LamSoft
Guest
Posts: n/a
 
      5th Jun 2007
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.


 
Reply With Quote
 
 
 
 
Eliyahu Goldin
Guest
Posts: n/a
 
      5th Jun 2007
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.
>



 
Reply With Quote
 
LamSoft
Guest
Posts: n/a
 
      6th Jun 2007
Thank you very much.
"Eliyahu Goldin" <(E-Mail Removed)> wrote in
message news:%(E-Mail Removed)...
> 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.
>>

>
>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
GridView's selection isn't causing other GridView's to load data asexpected Rasika WIJAYARATNE Microsoft ASP .NET 0 14th Dec 2007 12:25 AM
Creating custom gridview (inheriting from gridview class) =?Utf-8?B?V2ViTWF0cml4?= Microsoft ASP .NET 1 22nd Oct 2006 12:56 AM
Deleting row from GridView causes ArgumentOutOfRangeException during System.Web.UI.WebControls.GridView.set_SelectedIndex(Int32 value) loga123 Microsoft ASP .NET 2 28th Jun 2006 09:32 PM
GridView Hierarchical View - Gridview in Gridview =?Utf-8?B?bWdvbnphbGVzMw==?= Microsoft ASP .NET 1 9th May 2006 07:48 PM
Gridview with combobox whose data is dependent on field in gridview wallermj@hotmail.com Microsoft ASP .NET 3 21st Nov 2005 05:34 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 11:32 AM.