Silverlight 2 Web Service Part II - User Defined Type(c-sharpcorner.com)

submitted by saumya321saumya321(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.

add a comment |category: |Views: 15

tags: another

new Add a live kick counter to your blog >> liveImage

You can even customize the image by choosing your own colors, and then clicking the button below to update the preview and the html code:

  • "Kick It" text
  • "Kick It" background
  • kick count text
  • kick count background
  • border

Simply copy and paste this HTML into your blog post.


Users who kicked this story:
Comments:

No comments so far

information Login or create an account to comment on this story