This question is locked. New answers and comments are not allowed.
Working from the PDF walkthrew on the WCF example I made all of it but changed the service to read from SQL08
and updated Northwind.svc accordingly. I also changed the Customer.cs to have the variables to fit my table.
Now on the client I have a problem on this meathod:
--------------------------
void
client_GetCustomersByCompanyCompleted(object sender,
GetCustomersByCompanyCompletedEventArgs e)
{
gvMain.ItemsSource = e.Result;
}
--------------------------------
that is inside mainPage.Xaml.cs
In that meathod "GetCustomersByCompanyCompletedEventArgs e" is underlined and the error says:
Error 1 The type or namespace name 'GetCustomersByCompanyCompletedEventArgs' could not be found (are you missing a using directive or an assembly reference?) F:\Visual Studio Projects\Project1\SilverlightProjectWCF\SilverlightProjectWCF\MainPage.xaml.cs 42 13 SilverlightProjectWCF
I have referenced the service too. I am really at a loss here so any help would be appreciated.
