I have a non empty datatable . What is the best way to add another column to it that has sequential numbering starting from 1.
I tried the following code. But did not wo
You'll have to build a whole new datatable for this and manually deep-copy each row one by one from the old table to the new. Sorry.