943,675 Members | Top Members by Rank

Ad:
  • ASP.NET Discussion Thread
  • Unsolved
  • Views: 2564
  • ASP.NET RSS
Jan 20th, 2009
0

I can not find CopyToDataTable() method (LINQ)

Expand Post »
I am trying to write the following code:
ASP.NET Syntax (Toggle Plain Text)
  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.
Reputation Points: 10
Solved Threads: 0
Junior Poster in Training
brightline is offline Offline
57 posts
since Feb 2008

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in ASP.NET Forum Timeline: dll in \bin folder and GAC.
Next Thread in ASP.NET Forum Timeline: how to delete the last line of the text file using c#





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC