If it is an option, you can create a third table, creating the columns in the order that you choose, and merge both tables into it.  If it is not an option, I can only think of ordering the columns at the time of display using properties of the control that will hold the data.
  ----- Original Message -----
  From: Newtz, Brian
  To: [EMAIL PROTECTED]
  Sent: Monday, October 18, 2004 9:59 AM
  Subject: [C#.NET] Reordering a datatable's columns




  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


        Yahoo! Groups Sponsor
              ADVERTISEMENT
            
      
      


------------------------------------------------------------------------------
  Yahoo! Groups Links

    a.. To visit your group on the web, go to:
    http://groups.yahoo.com/group/CSharpNET/
     
    b.. To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]
     
    c.. Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



[Non-text portions of this message have been removed]


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


Yahoo! Groups Links

Reply via email to