Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Custom collection object binding to gridview

Thread Tools

Custom collection object binding to gridview
Posts: n/a

I have a ASP.NET webservice, that returns a custom object
(List<MyObject>). The webservice inturn invokes an assembly which
returns List<MyObject>. This object is returned back to the client.
One of the client program (ASP.NET) is trying to bind this object to a
gridview. In gridview, this list is turned into MyObject[]. My
question is (a) why is this transformation happening. (b) Is it
something to do with the gridview design (c) or am I doing something
wrong. Your input is highly appreciated. Thanks.


Reply With Quote

Thread Tools

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
Collection problems (create Collection object, add data to collection, bind collection to datagrid) Řyvind Isaksen ASP .Net 1 05-18-2007 09:24 AM
"gridview Object does not match target type" error during binding collection of different type object ASP .Net 2 08-06-2006 03:12 PM
Bind GridView to generic custom object List collection Steven Baggs ASP .Net 5 10-18-2005 09:45 PM
Complex data binding question, binding child objects of a custom collection. JcFx ASP .Net Datagrid Control 0 06-01-2005 04:01 PM
Binding Repeater to custom object collection Weston Weems ASP .Net 1 09-30-2004 07:12 PM