Skip to main content

Microsoft Silverlight

Answered Question Can a Silverlight binding resolve data?RSS Feed

(0)

rasmasyean
rasmasyean

Member

Member

81 points

164 Posts

Can a Silverlight binding resolve data?

If you bind your Silverlight object to some database fields, when you change the data, does it automatically update the database?

alok572
alok572

Member

Member

334 points

63 Posts

Re: Can a Silverlight binding resolve data?

 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.

Mark as answer if i have helped you.

MarkMonster
MarkMonster

Contributor

Contributor

5220 points

1,046 Posts

Answered Question

Re: Can a Silverlight binding resolve data?

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.

Mark Monster - MCPD Enterprise
http://mark.mymonster.nl
Silverlight and Expression Insiders UG

Dont forget to click "Mark as Answer" on the post that helped you.

Amanda Wang - MSFT
Amanda W...

All-Star

All-Star

17241 points

1,466 Posts

Answered Question

Re: Can a Silverlight binding resolve data?

 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

Amanda Wang
Microsoft Online Community Support

Please remember to mark the replies as answers if they help and unmark them if they provide no help.

rasmasyean
rasmasyean

Member

Member

81 points

164 Posts

Re: Can a Silverlight binding resolve data?

What are some of the advantages and disadvantages between the ADO.NET way and the Web Services way?  Thx.

rasmasyean
rasmasyean

Member

Member

81 points

164 Posts

Re: Can a Silverlight binding resolve data?

blank

  • Unanswered Question
  • Answered Question
  • Announcement
Microsoft Communities