locked
Web service in silverlight RRS feed

  • Question

  • 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 
     
    Sunday, July 5, 2009 9:30 PM