O'Reilly logo

Silverlight 4 Data and Services Cookbook by Kevin Dockx, Gill Cleeren

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Sorting, filtering, and grouping data using the DomainDataSource

Using the DomainDataSource, we can shape our data in XAML without writing any code in the code-behind. We can allow the users of our application to shape the data they see on screen by sorting, filtering, or grouping it. This increases the user friendliness of the software by making it easy to find what a user of the application is looking for. In this recipe, you'll learn how to shape your data by sorting, filtering, and grouping it with the DomainDataSource.

Getting ready

This recipe uses the AdventureWorks Lite database—a free database you can download from http://www.codeplex.com/MSFTDBProdSamples. To follow this recipe, you need to have this database installed on an SQL Server ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required