I am trying to write the following code:
query = dtdatacontext.storedprocedure1();
DataTable bindingTable = query.CopyToDataTable();
But I can not find the CopyToDataTable() method.
is there any usings should I use or what?
Thanks in advance.
I am trying to write the following code:
query = dtdatacontext.storedprocedure1();
DataTable bindingTable = query.CopyToDataTable();
But I can not find the CopyToDataTable() method.
is there any usings should I use or what?
Thanks in advance.
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.