R
recoil
When consuming a Web Service via a Web Reference I have a class that
overrides the ToString method. The ToString then returns a custom
friendly string representation of the object. This works fine when the
control is consumed directly however when the object is consumed via a
web reference in a project the overriden ToString method is not called.
public class p
{
public override string ToString()
{
return "";
}
}
If this object is added to a Combo Box directly the object shows "" as
the text. If this is done via a Web Reference it shows Namespace.Type.
Am I missing something.
overrides the ToString method. The ToString then returns a custom
friendly string representation of the object. This works fine when the
control is consumed directly however when the object is consumed via a
web reference in a project the overriden ToString method is not called.
public class p
{
public override string ToString()
{
return "";
}
}
If this object is added to a Combo Box directly the object shows "" as
the text. If this is done via a Web Reference it shows Namespace.Type.
Am I missing something.