This is a migrated thread and some comments may be shown as answers.

[Solved] Problems with WCF demo/self project

1 Answer 58 Views
GridView
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Nathan Wishard
Top achievements
Rank 1
Nathan Wishard asked on 03 Mar 2010, 09:49 PM

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.

1 Answer, 1 is accepted

Sort by
0
Vlad
Telerik team
answered on 04 Mar 2010, 07:37 AM
Hi,

Can you try to update the service reference in your project to see what will be the result? If send us your project via support ticket I'll gladly help you to find what is going on.

Greetings,
Vlad
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Tags
GridView
Asked by
Nathan Wishard
Top achievements
Rank 1
Answers by
Vlad
Telerik team
Share this question
or