简体   繁体   English

如何使用C#桌面应用程序创建HTML文件

[英]How to create an HTML file using C# desktop application

I want to create an HTML file from the database records.. 我想从数据库记录中创建一个HTML文件。

I Am working on a desktop application. 我正在开发桌面应用程序。 How can I create such a file? 如何创建这样的文件?

I tried on the internet and fount that XMLwriter can be used. 我在互联网上尝试过, XMLwriter可以使用XMLwriter

But I have no experience in XMLWRITER . 但是我没有XMLWRITER经验。 Can anyone help me? 谁能帮我?

Check this link 检查此链接

HtmlTextWriter writes HTML programmatically. HtmlTextWriter以编程方式编写HTML。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM