Skip to main content
Home Forums Silverlight Programming Silverlight Controls and Silverlight Toolkit Web service in silverlight
1 replies. Latest Post by varshavmane on July 6, 2009.
(0)
slen
Member
10 points
59 Posts
07-05-2009 9:30 PM |
I have little knowledge about web service.
Currently, in my Page class.
' declaration Private webService As ServiceReference1.ServiceCountryClient
Private Sub Page_Loaded(ByVal sender As Object, ByVal e As RoutedEventArgs) webService = New ServiceReference1.ServiceCountryClient AddHandler webService.GetCountryCompleted, AddressOf webService_GetCountryCompleted webService.GetCountryAsync() End Sub
Private Sub webService_GetCountryCompleted(ByVal sender As Object, ByVal e As CountrySilverlight.ServiceReference1.GetCountryCompletedEventArgs) source = e.Result theDataGrid.ItemsSource = sourceEnd Sub
In my SVC file, I have another function for delete, update and so on...
My not understanding is that I cannot retrive the functions there.
Does anyone have the complete examples for these events for delete, update and so on..with this particular way of coding...??
Thanks
varshavmane
Contributor
6719 points
1,578 Posts
07-06-2009 1:53 AM |
Check this link:
http://blogs.msdn.com/swiss_dpe_team/archive/2008/04/04/crud-operations-with-optimistic-locking-using-silverlight-2-beta1-wcf-and-linq-to-sql-inserts-updates-and-deletes.aspx
http://silverlight.net/learn/tutorials/sqldatagrid.aspx
HTH