how we can fetch the data from the database through Silver light? I want the basics only. because i am a fresher in silver light.
Asked
Active
Viewed 231 times
2 Answers
2
Expose your data through a WCF service.
Have a look at this tutorial: Displaying SQL Database Data in a DataGrid using LINQ and WCF.
Also:

Community
- 1
- 1

Mitch Wheat
- 295,962
- 43
- 465
- 541
2
It depends a little on the version of Silverlight that you are using. In any case, there are some very good and comprehensive tutorials out there on the web. Here are a few that will be of interest:
http://silverlight.net/learn/tutorials/sqldatagrid.aspx
http://www.simple-talk.com/dotnet/.net-framework/data-and-silverlight-2-data-binding/

Rhys Jones
- 3,833
- 3
- 21
- 17