D
Daniel
hi ng,
i have a webservice method that provides a object array that i would
like to bind with a datalist on client side.
the problem is that a datalist needs property fields to bind to, but
webservice client side, the objects properties are recognized as public
fields.
And in the wsdl file, there is no difference between for example:
public string Field1;
and
private string _Field2
public string Field2
{
set{value=_Field2;}
get{return _Field2;}
}
so the question is: is there a way to define field as a property for the
wsdl file?
thank you very much for any help!
daniel
i have a webservice method that provides a object array that i would
like to bind with a datalist on client side.
the problem is that a datalist needs property fields to bind to, but
webservice client side, the objects properties are recognized as public
fields.
And in the wsdl file, there is no difference between for example:
public string Field1;
and
private string _Field2
public string Field2
{
set{value=_Field2;}
get{return _Field2;}
}
so the question is: is there a way to define field as a property for the
wsdl file?
thank you very much for any help!
daniel