摘要:
首先,向项目中添加一个类文件BasePage.cs,其对应的类名为BasePage,代码如下:using System;using System.Data;using System.Configuration;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 S. 阅读全文