Click here to Skip to main content
15,893,904 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
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 together.how 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

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



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900