|
-
Mar 26th, 2007, 04:27 PM
#1
Thread Starter
New Member
[2005]
Hi all,
is there any way to control the order of the columns datagridview\dataproperty when binding to a collection of custom classes while setting the control to autogeneratecolumns to true?
for example i have a custom class , person, who has 3 properties exposed name, age and sex when a collection of these classes the datagrid orders them differrently to how i would.
can anyone tell me if i can use attributes on the methods so they get created in a certain sequence i would set?
i dont really want to manually set the display index and would prefer to have the datagridview do all the work.
any suggestions? experts please help this problem is doing my nuts in!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|