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.
Last edited by peter_budo; Jan 21st, 2009 at 7:26 am. Reason: Keep It Organized - For easy readability, always wrap programming code within posts in [code] (code blocks) and [icode] (inline code) tags.
Reputation Points: 10
Solved Threads: 0
Junior Poster in Training
Offline 57 posts
since Feb 2008