如何从数据表行中删除html标记 [英] How to strip html tags from the datatable rows
本文介绍了如何从数据表行中删除html标记的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
先生,
如何从数据表行中删除html标签。
sir,
how to remove html tags from datatable rows.
推荐答案
Label xyz = (Label)grd_call_Receive_details.Rows[i].FindControl("lblreceivedetails_get");
string text = Regex.Replace(xyz.Text, "<[^>]*>", String.Empty);
这篇关于如何从数据表行中删除html标记的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文