Click here to Skip to main content
Rate this: bad
good
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 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 18-Nov-12 19:26pm

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

  Print Answers RSS
0 OriginalGriff 439
1 ChintanShukla 310
2 Gihan Liyanage 298
3 RyanDev 250
4 Richard Deeming 220
0 Sergey Alexandrovich Kryukov 8,906
1 OriginalGriff 7,771
2 CPallini 2,603
3 Richard MacCutchan 2,121
4 Abhinav S 1,928


Advertise | Privacy | Mobile
Web03 | 2.8.140827.1 | Last Updated 19 Nov 2012
Copyright © CodeProject, 1999-2014
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