2
Answers

LINQ Problem

Ask a question
naren narra

naren narra

14y
2.6k
1
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

Answers (2)