I don't think you can...99% sure on this but I could be
wrong. You can use RemoveAt to remove a column at a
specific index, but I don't see any similar piece for
adding columns. The only ways to manipulate this that I
can think of are..
1) Create the DataTable with the column added to it
before filling it
2) Create a new dataTable and manually set it.
For the most part, neither of these are very elegant.
Is there something specific that you want to accomplish
that necessitates this or is just a general question? If
it's the first, post what you want to do and we can
probably work something out.
Cheers,
Bill
>-----Original Message-----
>When adding a datacolumn to an existing table is there a
>way to specify where the datacolumn will be added or is
>the new column always added at the end? Ideally I would
>like to place the column at the front...
>.
>
|