Basically, I want to be lazy if I can - If I can have the columns in the order I want in the datatable, then I can just plop a datagrid on an aspx page and not have to sit there and write out the whole <Columns> section for the grid to get the order I want.

It's no big deal, just a time saver if it's possible.

-Brian

-----Original Message-----
From: Ian Moores [mailto:[EMAIL PROTECTED]
Sent: Monday, October 18, 2004 10:03 AM
To: [EMAIL PROTECTED]
Subject: RE: [C#.NET] Reordering a datatable's columns

Hi Brian,

Would you not want to do this on the display of the data? why do you care
what order the columns are in , in the datatable? If you wanted to do it at
display time then depending which control you are using depends how you
order the data. (please excuse any teaching of egg sucking!).

Cheerio

Ian
>
>
>
>This might be a dumb question, but does anyone know how to reorder a
>datatable's columns? In my scenario, I have two datatables, and I'm
>using a dataset to merge one into the other. The second table adds
>columns to the first when it's merged, and that's what I want, but I
>would like the added columns to be in-between some of the preexisting
>columns.
>
>-Brian
>

_________________________________________________________________
Want to block unwanted pop-ups? Download the free MSN Toolbar now!�
http://toolbar.msn.co.uk/



Yahoo! Groups Sponsor
ADVERTISEMENT





Yahoo! Groups Links
* To visit your group on the web, go to:
http://groups.yahoo.com/group/CSharpNET/

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.


Yahoo! Groups Sponsor
ADVERTISEMENT
click here
Web Bug from http://us.adserver.yahoo.com/l?M=315388.5497957.6576270.3001176/D=groups/S=:HM/A=2372354/rand=153646651


Yahoo! Groups Links

Reply via email to