naren narra

naren narra

  • NA
  • 7
  • 0

LINQ Problem

May 26 2010 12:35 AM
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)