October 2010
Intermediate to advanced
1920 pages
73h 55m
English
QueryExtender ControlNow that we’ve seen all the different options available to us when using the QueryExtender control, let’s put this all together with a real data source and some controls on the page and see how it all works as a unit.
In this sample, we point a LINQ data source (a data source for LINQ to SQL contexts) at a context that contains tables for a video game catalog database. When the data source is set up, we just need to create an ASP.NET Web Form page called GameBrowser.aspx. This page needs to have a drop-down list that enables users to filter games by Genre and a text box that enables users to search both game title and game description. Take a look at the markup for the GameBrowser.aspx page: ...