首先是在網(wǎng)站根目錄中建立一個(gè)html文件夾,然后建立一個(gè)Temp.html文件代碼如下:
logo |
|
||||
$title$ |
$content$ |
然后建立Autohtml.aspx
其Autohtml.aspx.cs 頁面代碼:
using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;
using System.Net;
using System.Text;
using System.IO;
public partial class yamblove_admin_Autohtml : System.Web.UI.Page
{
protected void Page_Load(object sender