Skip to main content
Home Forums General Silverlight Getting Started Can a Silverlight binding resolve data?
5 replies. Latest Post by rasmasyean on July 3, 2009.
(0)
rasmasyean
Member
81 points
164 Posts
06-24-2009 1:00 AM |
If you bind your Silverlight object to some database fields, when you change the data, does it automatically update the database?
alok572
334 points
63 Posts
06-24-2009 1:29 AM |
Hi,
The updation in the control will not update the database. You'll have to write code for that.
Mark as answer if i've helped you.
MarkMonster
Contributor
5220 points
1,046 Posts
06-24-2009 1:38 AM |
Basically you cannot databind to a database table and fields. There needs to be a layer between the database and your Silverlight application. This layer can be written in plain old Webservices / WCF ( or RIA Services in the future).
Also it's not possible to automatically update the database, you will have to do some coding for that to happen.
Amanda W...
All-Star
17241 points
1,466 Posts
06-26-2009 5:10 AM |
Hi, you can try to this link, which talks about how to operate the database in silverlgith by using ADO.Net Data Service. Insert, Update and Delete in Silverlight DataGrid using ADO.NET
06-26-2009 5:47 PM |
What are some of the advantages and disadvantages between the ADO.NET way and the Web Services way? Thx.
07-03-2009 2:40 AM |
blank