Modify HTML file in a c sharp class

后端 未结 4 884
Happy的楠姐
Happy的楠姐 2021-01-20 21:17

First of all my application is not a web application. My aim is reading html files and modify them.

So that I write this code:

    string fileName =         


        
4条回答
  •  盖世英雄少女心
    2021-01-20 22:11

    If you are wanting to just change certain things, you could be able to do this with XPath. Using the HTML Agility Pack, you can do this using C#.

    http://htmlagilitypack.codeplex.com/

提交回复
热议问题