IntroductionThis article demonstrates an interesting and very useful concept in ASP.NET.Question: What is query extender?In simple terms "It filters the data from a selected data source".Step 1: Create a new web applicationStep 2: Adding a new LINQ-to-SQLStep 3: Add new data source to GridViewStep 4: The complete code of WebForm1.aspx is as in the following:
Step 5: The complete code of WebForm1.aspx.cs is as in the following:
Step 6: The output of the application is as in the following: