when i try to add multiple Datatables to collection then its shows error like this - Add To Collection: The property ‘Collection’ of ‘Add To Collection’ is not initialized.
I dont know how to properly intialize variable for creating add to collection of Datatables.
Could you please explain the requirement here?
We can’t add data table like that…
Either we have to create a template data table to store the values or we need to write this data table to excel…
It could be better to explain the process…
yourListVar = new List(Of DataTable)()
im already reading the data from excel files by forlooping then trying to store multiple datatables to a collection variable