代码修改后的版本,全部提交

This commit is contained in:
ss001
2026-02-07 15:48:27 +08:00
parent cccbaa37c9
commit c2cda58c65
15604 changed files with 2455502 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);
};
}
}
}