Can we create multiple empty data table dynamically?

Hi,

How about the following?

listDt = Enumerable.Range(0,10).Select(Function(x) New DataTable()).ToList()

or

listDt = Enumerable.Range(0,10).Select(Function(x) templateDt.Clone).ToList()

Regards,

3 Likes