Reputation: 6577
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.
Upvotes: 1
Views: 236
Reputation: 300559
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:
Upvotes: 2
Reputation: 3993
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/
Upvotes: 2