Click here to Skip to main content
12,828,907 members (40,685 online)
Rate this:
Please Sign up or sign in to vote.
See more: Silverlight4
I just creat a business silverlight Project and add a table about Student from the database by WCF RIA to the datagrid,and now there is a columns about ClassInfo and I want to merge the cells to make the student from the same class can I reach it?
And I try the way to use PagedCollectionView to my behind code .cs,but when I try to write:

PagedCollectionView view=new PagedCollectionView();

and the data is from the database ,and load by the way DomainDateSource ,and I search from the Internet,they often put a name of a List in the bracket,but I don't got a List ,how can I do to group the data?
Here is same code of my xaml,and I am badly in need of help!!!

<riaControls:DomainDataSource Name="studentDataSource" LoadSize="20" QueryName="GetSMBasicInfoes" AutoLoad="True">

<data:DataGrid Name="dataGrid1" ItemsSource="{Binding Data, ElementName=studentDataSource}" AutoGenerateColumns="False">
Posted 18-Nov-12 20:26pm

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

    Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web02 | 2.8.170326.1 | Last Updated 19 Nov 2012
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100