c# 4.0 - Unable to Decode HTML in WCF Service -
public string returnstring() { string s = ""; s = httputility.somevaliable; return s; }
somevaliable = <dependent><dependentid>
but getting string s value <dependent><dependentid>
note: have not applied ; after < converted <
might string not compatible html format. please suggest me datatype have use return htmldecode format.
any quick please
see this question.
the data type looking xelement or xmlelement return type.
another easy way can use string return type use system.net.webutility htmlencode before returning in service , htmldecode in client.
Comments
Post a Comment