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 &ltdependent&gt&ltdependentid&gt

note: have not applied ; after &lt 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

Popular posts from this blog

css - I want to align grid in center -

Contact Form PHP Email Script -

python - SWIG function not printing output -