首次推送

This commit is contained in:
lym
2026-03-09 00:13:46 +08:00
commit b19613bb31
13974 changed files with 2767735 additions and 0 deletions

View File

@@ -0,0 +1,34 @@
using System;
using System.Collections.Generic;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace Mtxfw.shop._admin
{
public partial class admin_Delete_Data : Mtxfw.Utility.AdminPage
{
public Mtxfw.DAL.user_info daoUser = new Mtxfw.DAL.user_info();
protected override void OnLoad(EventArgs e)
{
base.OnLoad(e);
if (!IsPostBack)
{
Btn_Delete.Attributes.Add("onclick", "return confirm(\"您确定要清空数据吗?\");");
}
Btn_Delete.Click += delegate(object s, EventArgs ex)
{
daoUser.DeleteData();
Response.Redirect(Request.Url.AbsolutePath);
};
}
}
}