Admin/M_BusinessPointList.aspx.cs
(开头部分) 8KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
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;
namespace NetworkFeeSystem.Admin
{
public partial class M_BusinessPointList : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
DAL.Function.CheckState();
if (!IsPostBack)
{
string sqlstr = " where 1=1 ";
if (Request["pointName"] != null && Request["pointName"].ToString() != "")
{
sqlstr += " and pointName like '%" + Request["pointName"].ToString() + "%'";
pointName.Text = Request["pointName"].ToString();
}
if (Request["telephone"] != null && Request["telephone"].ToString() != "")
{
sqlstr += " and telephone like '%" + Request["telephone"].ToString() + "%'";
telephone.Text = Request["telephone"].ToString();
}
if (Request["address"] != null && Request["address"].ToString() != "")
{
sqlstr += " and address like '%" + Request["address"].ToString() + "%'";
address.Text = Request["address"].ToString();
}
HWhere.Value = sqlstr;
BindData("");
}
}
protected void BtnBusinessPointAdd_Click(object sender, EventArgs e)
{
Response.Redirect("M_EditBusinessPoint.aspx");
}
protected void BtnAllDel_Click(object sender, EventArgs e)
{
if (!string.IsNullOrEmpty(HSelectID.Value.Trim()))
{
try
{
if (BLL.bllBusinessPoint.DelBusinessPoint(HSelectID.Value.Trim()))
{
Common.ShowMessage.Show(Page, "suess", "信息成功删除..", "M_BusinessPointList.aspx");
}
else
{
Common.ShowMessage.Show(Page, "error", "信息删除失败,请重试或联系管理人员..");
后面还有 145 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。