By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
454,165 Members | 1,394 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 454,165 IT Pros & Developers. It's quick & easy.

Insert a column in a datatable?

P: n/a
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

Nov 21 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
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" <or****@informatik.com> wrote in message
news:11**********************@o13g2000cwo.googlegr oups.com...
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

Nov 21 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.