Re: Insert a column in a datatable?

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



You can remove them at a specific index but I don't belive you can insert
them in at a specific index. Do you need this for UI Purposes or for logic
to run? If UI, then with grids and all you can specify mappings to make
them appear where you want them - otherwise you can always use the index to
get what you want.

HTH,

Bill

--
W.G. Ryan, MVP

www.tibasolutions.com | www.devbuzz.com | www.knowdotnet.com
"johnb41" <orders@xxxxxxxxxxxxxx> wrote in message
news:1115665416.288260.109120@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
> You can ADD a column to a datatable easily: datatable.Columns.Add()
>
> I would like to INSERT a column instead of adding it to the end. Is
> this possible?
>
> Thanks!
> John
>


.



Relevant Pages