Hi i have a stored procedure which creates a Query and returns the Executed result.When i trying to bind the Query result to a Grid View its comming as Item
------
0
Actually query returns a set of records from different tables each time depending on input parameter.
I observed that in LINQ designer the retun type for generated method was specified as Integer.
If i use previous technique (creating a SQLcommand object and execute it) i can bind the results to the Grid View.
please tell me how to do the same using LINQ
Thanks in Advance
LINQ Problem
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.

Christofel Hakim81 reputationPosted May 27, 2010, 11:35 PM EDT
if your SP ends with non query command then it will return an integer types.
naren narra6 reputationPosted Jun 25, 2010, 4:21 PM EDT