Wednesday, June 17, 2009

Silverlight 2 Web Service Part III - Single object Get and Update from database

Adding database calls

This example builds on a previous tutorial: Silverlight 2 Web Service Part II - User Defined Type; the project files for this tutorial is included in the ZIP file.

We are now going to expand the Silverlight application and Web Service that we created in the previous tutorial. We will make a few modifications to the user interface and add database functionality to the Web Service.

In the previous tutorial we returned a static product from the Web Service, in this tutorial we are going to access a database and use products from a table called SalesLT.Product in the AdventureWorksLT database. You can download the database from the following site http://www.codeplex.com/MSFTDBProdSamples/.

See full detail: http://www.c-sharpcorner.com/UploadFile/ReefDweller/Silverlight2WebServicePartIII-SingleObjectGetAndUpdateFromDatabase06032009114325AM/Silverlight2WebServicePartIII-SingleObjectGetAndUpdateFromDatabase.aspx

No comments: