一聚教程网:一个值得你收藏的教程网站

热门教程

遍历指定文件夹下所有的xml文件并动态生成HTML页面!

时间:2022-07-02 11:48:37 编辑:袖梨 来源:一聚教程网

using System;
using System.Collections;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Web;
using System.Web.SessionState;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.HtmlControls;
using System.IO;
using System.Xml;
using System.Net;
using System.Text;
using System.Text.RegularExpressions;
namespace AspNet
{
      ///
      /// 遍历指定文件夹下所有的Data.xml文件并动态生成HTML静态页面!
      /// 运行过程:[1调用2,2调用3,3调用4]
      ///

      public class GetPageHtml : System.Web.UI.Page
      {
     protected System.Web.UI.WebControls.Button WebClientButton;
     protected System.Web.UI.WebControls.TextBox ContentHtml;
     protected System.Web.UI.WebControls.Button GetText;
     protected System.Web.UI.WebControls.TextBox UrlText;
     protected System.Web.UI.WebControls.Button Button2;
     protected System.Web.UI.HtmlControls.HtmlInputFile FilePath;
     private string PageUrl = "";
     private void Page_Load(object sender, System.EventArgs e)
     {
     }
     #region Web Form Designer generated code

热门栏目