Articles in this section
Category / Section

How to bind data to Pivot Grid Silverlight using WCF service

1 min read

It is very easy to bind data to pivot grid using WCF service. By default the startup page is MainPage (illustrates EmptyPivotGrid Display). And to run the “SilverlightControl1” page (which illustrates the Binding data from the database to PivotGrid using WCF), you have to do the following:

In App.Xaml.CS file, Uncomment “// this.RootVisual = new SilverlightControl1 ();” and comment “this.RootVisual = new MainPage ();” as shown in below code snippet:



private void Application_Startup(object sender, StartupEventArgs e)


// this.RootVisual = new MainPage();

this.RootVisual = new SilverlightControl1();




D:\documentation\PivotGrid and screenshot\EmptyPivotGrid1.PNG

Figure: Empty Pivot Grid

D:\documentation\PivotGrid and screenshot\PivotGrid that binds data from the database.PNG

Figure: pivot Grid which Binds data from Database



Did you find this information helpful?
Help us improve this page
Please provide feedback or comments
Comments (0)
Please sign in to leave a comment