MichaelWClark 0 Junior Poster

I have a stored procedure that I am using through LINQ to SQL as a data source for a gridview. Rather than editing my stored procedure is there a way to use Linq to search the result set?

Dim DC As New DistributionDataContext

GridView1.DataSource = (DC.usp_GetInvestorData(GridView1.PageIndex, GridView1.PageSize, "InvestorName", Session("sort")))

GridView1.DataBind()
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.