ACCESS网站示例-连载-提示类文件

时间:2021-07-28 09:59:10


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 System.Xml.Linq;

/// <summary>
///TiShi_XinXi 的摘要说明:弹出窗口提示信息及关闭窗口
/// </summary>
public class TiShi_XinXi
{
public TiShi_XinXi()
{
//
//TODO: 在此处添加构造函数逻辑
//
}
/// <summary>
///TiShiXinXi_url 的摘要说明:弹出窗口提示信息并转向指定页面
/// </summary>
public string TiShiXinXi_url(string XinXi, string url)
{
string TsXinXi = "<script language=javascript>alert('" + XinXi + "');location='" + url + "';</script>";
return TsXinXi;
}
/// <summary>
///TiShiXinXi 的摘要说明:弹出窗口提示信息
/// </summary>
public string TiShiXinXi(string XinXi)
{
string TsXinXi = "<script language=javascript>alert('" + XinXi + "')</script>";
return TsXinXi;
}
/// <summary>
///GuanBi_ChuanKou 的摘要说明:关闭窗口
/// </summary>
public string GuanBi_ChuanKou()
{
string TsXinXi = "<Script language='JavaScript'>window.close();</Script>";
return TsXinXi;
}
}
至此整个网站源码及文件全部发布完成,很简单的一个单页网站,仅供有缘人参考。