EasyShop/siteAdmin/ZhiTongChe/AddOfficalAccount.aspx.cs
(完整代码) 2KBusing System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using ExeSql;
using BLL;
using MyModels;
using Easy.COMMON;
using System.Data.SqlClient;
using System.Data;
using COMM;
namespace EasyShop.siteAdmin.ZhiTongChe
{
public partial class AddOfficalAccount : System.Web.UI.Page
{
public string Province = string.Empty;
public string City = string.Empty;
public string Country = string.Empty;
public string jsString = string.Empty;
protected void Page_Load(object sender, EventArgs e)
{
}
public void tj_click(object sender, EventArgs e)
{
TB_MC_ZtcOfficialAccount_Ext tmt = new TB_MC_ZtcOfficialAccount_Ext();
string UserNumber, PassWord, SellProvince, SellCity, StockNum, SellNumber, Remark, UserName;
UserName = conn.MyCookie.getCookie("MLoginUser");
UserNumber = StaticFunction.CheckSql2(txt_Account.Text);
PassWord = StaticFunction.CheckSql2(txt_PassWord.Text);
SellProvince = base.Request.Form["Select1"];
SellCity = base.Request.Form["Select2"];
StockNum = StaticFunction.CheckSql2(txt_StockNum.Text);
SellNumber = "0";
Remark = StaticFunction.CheckSql2(txt_remark.Value);
string username = conn.MyCookie.getCookie("MLoginUser");
int k = tmt.Add(UserNumber, PassWord, SellProvince, SellCity, StockNum, SellNumber, Remark, username);
if (k > 0)
{
// MsgBox.Alert("更新成功");
jsString += "dlg.Msg.Cor(\"添加成功\");setTimeout('Go(\"OfficalAccountList.aspx\")', 2000);";
//base.Response.Redirect(this.ViewState["retu"].ToString());
}
else
{
jsString += "dlg.Msg.Err(\"添加失败,请稍后重试!\");";
//MsgBox.Alert("更新失败,请稍后重试!");
}
}
}
}
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。