Skip to main content

Microsoft Silverlight

Answered Question Web service in silverlightRSS Feed

(0)

slen
slen

Member

Member

10 points

59 Posts

Web service in silverlight

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 = source
End 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
varshavmane

Contributor

Contributor

6719 points

1,578 Posts

Answered Question

Re: Web service in silverlight

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 Smile

Please "Mark as Answer" if this post answered your question. :)
Visit my Blog: http://varshavmane.blogspot.com/
  • Unanswered Question
  • Answered Question
  • Announcement
Microsoft Communities