Am getting the error of CopyToDataTable is not a member of System.Data.Datatable.
I read through the different articles and they were advising that I should add
CopyToDataTable is not defined by the class DataTable as the message mentioned
the above statement without CopyToDataTable already returns a datatable
When using DataSetExtensions then in some scenarios we can use the extension method e.g. a List(Of DataRow). For making this available then we would take care about the assembly reference.
Yes @kumar.varun2 your right because I deselected the Add Headers option because I was getting the error of already exists in DataTable and the resolution was to uncheck the Add Headers option.
So am wondering on how I can resolve this new error.
Let me try and do what you’ve advised and see
And I was thinking if I can use the index position instead of the column name I guess it will more stable that way.