how to convert the html tags and get a message in string

Posted by Ranjana on Stack Overflow See other posts from Stack Overflow or by Ranjana
Published on 2010-05-29T07:31:39Z Indexed on 2010/05/29 7:42 UTC
Read the original article Hit count: 186

Filed under:
|
|
|

how to convert the html tags to the msg bodg in mail function.

i.e i have

  Company Name: BPL

  Industry Type:  

i have got the string as

datatable dt=new datatable();

string msg= dt.rows[i]["Message"].tostring();

i need to convert this html tags to the exact message;

           if (boolcheck)
            {
                msg.Body = ????????? wat to use over here.... how to remove the html tags and get the exact message

            }

pls help??????????/

© Stack Overflow or respective owner

Related posts about c#

Related posts about ASP.NET