Can I specify a stored procedure in my LinqDataSource?

I have a Listview that I want to read the results of a stored procedure. I created a DBML object with table and stored procedure. When I set up my LinqDataSource on the page, I cannot specify the SProc - only the table. Or do I need to do this in a Listview? Thanks to

+2


a source to share


1 answer


Use a special expression. See the section "Using the selected event"



http://weblogs.asp.net/scottgu/archive/2007/09/07/linq-to-sql-part-9-using-a-custom-linq-expression-with-the-lt-asp-linqdatasource- gt-control.aspx

+2


a source







All Articles