Click here to Skip to main content
15,914,444 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I want to bind my Silverlight controls with data but how can i do that because it cannot be possible using Dataset so any good example.
Posted
Comments
[no name] 5-Jul-12 12:16pm    
Plenty of examples. What have you tried? Or do you just not know how to use a search engine?

1 solution

You don't use a dataset directly when you do binding in Silverlight.
You return a collection via a web service and then bind properties in the collection to controls in Silverlight.

It is important to use the INotifyPropertyChanged interface to get instant updates to your model (as you are changing data on the xaml web page).

For binding links, refer
Databinding in Silverlight applications[^]
http://www.silverlight.net/learn/data-networking/binding/data-binding-to-controls-%28silverlight-quickstart%29[^]
http://www.silverlight.net/learn/data-networking/binding/silverlight-data-binding[^]

A good video here[^].
 
Share this answer
 

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