Silverlight 2 Web Service Part II - User Defined Type(c-sharpcorner.com)
submitted by
saumya321(775) 3 years ago
This tutorial is meant to shed some light upon how you can build your own Web Service using a WCF Service class. This is the second turtorial in a series of tutorials on how to access remote data with a Web Service. In this tutorial we create a user defined type called Product that will be returned from Web Service method. The returned Product will be displayed in two ways; the first by assigning the values to TextBlock contros in code, the second by assigning the Product instance to the DataContext property of the Grid and let the Grid propagate the values out to specific TextBox controls. We will also have a look at how bining validation works. Binding validation is a way to validate input values from controls, in this case it will be TextBox controls.
|category: Silverlight
|Views: 15
tags:
Silverlight another
Everyones tags:
Your Tags: