Click here to Skip to main content
15,072,209 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have two stored procedure
sp1 : returns table
sp2 : returns single value

how can i fetch data into data table and string

I am using LINQ (DataClasses.dbml)

Thanks.
Posted

1 solution

You're going to run two LINQ queries, obviously. So long as you're calling stored procs, I don't see the point of using LINQ, but I guess it IS a buzzword right now. http://msdn.microsoft.com/en-us/library/bb399407.aspx[^] tells you how to call a stored proc from LINQ. 3 seconds to find that with google, by the way.
   

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)




CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900