【发布时间】:2011-02-25 10:14:49
【问题描述】:
如何在邮件功能中将html标签转换为msg bodg。
我有
公司名称:BPL
行业类型:
我得到的字符串为
数据表 dt=new datatable();
string msg=dt.rows[i]["Message"].tostring();
我需要将此 html 标记转换为确切的消息;
if (boolcheck)
{
msg.Body = ????????? wat to use over here.... how to remove the html tags and get the exact message
}
请帮忙????????????/
【问题讨论】:
-
请更具体。向我们展示一个示例 msg 以及它在 msg.Body 中的确切外观
-
公司名称:
我需要删除这个标签,即 html 标签,并且只显示像 compnayname .. 这样的消息