Welcome Guest
Tanvtech logo
Tanvtech logo
 

Introduction:

In This example what i am going to do is use my existing example and code ,i want to call the Wcf and bind it to the silverlight data grid.
Here are the steps i will follow to create my first Hello Application
Step1:I add the WCF project to my silverlight project and my project will look like this.

Step2: Add the silverlight dataGrid to the xaml page


Step3: Add web reference to your project xaml silverlight project

Step4: Add the following code to the xaml code file and make sure you add the click event of the button

Step5: Build and run your project and you will see some some date in the datagrid after you click the button

 
© Tanvtech. All Rights Reserved.