Hi,
I am trying to run the following code :-
sqlGaz is an array, and the value at (i,0) is dtInvoice
But when I try to run the code I get the following error :-
Value of type 'System.Data.DataTable' cannot be converted to 'String'.
How can I call the datatable name "dtInvoice" from the array/loop?
I am trying to run the following code :-
VB.NET:
MyCommand.Fill(dsMain, i)
sqlGaz(i, 0) = dsMain.Tables(i)
sqlGaz is an array, and the value at (i,0) is dtInvoice
But when I try to run the code I get the following error :-
Value of type 'System.Data.DataTable' cannot be converted to 'String'.
How can I call the datatable name "dtInvoice" from the array/loop?