PC Review


Reply
Thread Tools Rate Thread

Business object data binding

 
 
hharry
Guest
Posts: n/a
 
      31st May 2007
Hello All,

I am binding a custom business object the gridview control.

When I bind a datatable to the gridview control, the columns are
displayed in the same order as the select statement used to populate
the datatable.

When I bind a custom business object to the gridview control, the
column order is not the same as the order in which the business object
properties are declared and I need to modify the columns collection.

Could someone briefly explain why this occurs ??


Thanks in advance!

 
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
Binding data to object and its nested object (ASP.NET 2.0) Piotrek Microsoft ASP .NET 4 4th Aug 2006 11:09 AM
How to know if my business object is in binding mode Tommaso Caldarola Microsoft C# .NET 0 31st Jul 2006 04:48 PM
Binding custom business object list using a combo box g18c@hotmail.com Microsoft C# .NET 0 24th Feb 2006 07:59 PM
Question about Databinding - binding controls to members of my business object. Michael.Suarez@gmail.com Microsoft C# .NET 13 11th Jan 2006 01:41 PM
Binding a Business object to a datagrid with multiple levels Liam Ponder Microsoft ADO .NET 1 11th Aug 2003 10:18 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:27 PM.