Hello, I get
GetAgencyListCompleted
EventHandler and
GetAgencyListCompletedEventArg
EventArguments delegations from a WebService to check the EventHandler result. The result property (object) of the eventhandler will bring the list of items that what I am looking for. However, I get implicitly conversion error message in the code below. How can solve the problem?. If you know the solution, would you please show me how to do it? Thanks.
//PRONTOWS IS A WEB SERVICE & PSSaleWS is a WEB REFERANCE
// The following statement causes implicit conversion error
ProntoWS.GetAgencyListCompleted += new EventHandler <PSSaleWS.GetAgencyListCompletedEventArgs>(Proxy_AgencyInfoCompleted);
// Here is the proxy class
void Proxy_AgencyInfoCompleted(object sender, PSSaleWS.GetAgencyListCompletedEventArgs Completed)
{
Response.Write("Here");
}
What a curious mind needs to discover knowledge is noting else than a pin-hole.
modified on Sunday, May 22, 2011 6:26 PM