| || |
Get column numbers in DataTable dynamically
I have a DataTable and I want to get column numbers in DataTable dynamically.
So I do not know how many columns I have initially. I have this information only during runtime. I step row by row with a for next. I would like to step inside this cycle column by column but how to decide the number of iterations if I do not know before.
The retrieve DataTable.RawValue operation failed. The specified parameter index value: "6" does not exist in the data sheet.
Re: Get column numbers in DataTable dynamically
'Get column count during run time
'Get row count during run time