I would like to insert a new column in DataTable at a specified position

V

Vikram

I would like to insert a new column in DataTable at a
specified position, is it possible and how ?

Thanks
 
C

Cor Ligthert

Vikram,
I would like to insert a new column in DataTable at a
specified position, is it possible and how ?
What can be a reason for that?

(You can remove and add them from the collection in a new sequence however I
don't see the sence at all for this, so I am curious for that why).

Cor
 
V

Vikram

Thanks Cor,

I want to remove a column form a datatable and then insert
a new col with blank values at that same position.
As no of records are huge i can not loop through and set
values to null.
 
C

Cor Ligthert

Vikram,

Did you try the effect already with removing that column.

I don't think it will take few time, because it has to remove than I assume
that it has than in every row than as well that item.

When you try it, than I am curious for the result?

Cor
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top