I can not find CopyToDataTable() method (LINQ)

Please support our ASP.NET advertiser: Intel Parallel Studio Home
Reply

Join Date: Feb 2008
Posts: 52
Reputation: brightline is an unknown quantity at this point 
Solved Threads: 0
brightline brightline is offline Offline
Junior Poster in Training

I can not find CopyToDataTable() method (LINQ)

 
0
  #1
Jan 20th, 2009
I am trying to write the following code:
  1. query = dtdatacontext.storedprocedure1();
  2. 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.
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Other Threads in the ASP.NET Forum
Thread Tools Search this Thread



Tag cloud for ASP.NET
About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC