Click here to Skip to main content
15,889,595 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
hi
I am getting into trouble if i use exec statment in a stored procedure and when I am trying to fetch data with that stored procedure with linq.


If I use exec command then it will not dispaly list() like below

C#
LS25DataContext mydb = new LS25DataContext();
list<customer> IResult = mydb.usp_search(int custid,int iprice).ToList();


Can I use exec command in stored procedure when use linq?


thanks in Advance.
Posted
Updated 26-Dec-11 23:59pm
v2
Comments
Slacker007 27-Dec-11 6:00am    
Edit: formatting and readability.

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