如何在asp.net,c#.net中读取html文件 [英] how to read html file in asp.net,c#.net
本文介绍了如何在asp.net,c#.net中读取html文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
大家好,
我有一个html文件
就像
Hi All,
i have an html file
like
<html>
<meta name="add" Text="< i need to get this data using c#.net "/>
<body>
<table>
<tr> <td> Name</td> <td> rajesh </td> </tr>
</table>
</body>
</html>
我需要在文本的meta标签中获取数据,而在表中,我需要在上传.html文件时获取名称
您可以引导或发送摘录
I need to get data in meta tag of text and and in table i need to get name while upload .html file
can u guidde or send snippets
推荐答案
嗨.使用 http://htmlagilitypack.codeplex.com/ [ ^ ]
希望这对您有所帮助.
Hi. Use http://htmlagilitypack.codeplex.com/[^]
Hope this helps you..
哦,Google的神奇之处: ^ ].
Oh the magic of Google: about 8 millions results found[^].
这篇关于如何在asp.net,c#.net中读取html文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文