EasyShop/siteAdmin/ZhiTongChe/AddZtcTemplate.aspx.cs
(开头部分) 2KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
using 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 AddZtcTemplate : 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)
{
if (!IsPostBack)
{
txt_ExchangeRatio.Text = "1";
txt_sell_type.Text = "0";
txt_sell_sub_type.Text = "0";
}
}
public void tj_click(object sender, EventArgs e)
{
TB_MC_ZtcTemplate_Ext tmt = new TB_MC_ZtcTemplate_Ext();
string Tmp_Name, Tmp_sell_type, Tmp_in_acct_type, Tmp_sell_sub_type, Tmp_Province, Tmp_City, Remark,UserName;
bool IsStartCity = false;
UserName = conn.MyCookie.getCookie("MLoginUser");
Tmp_Name = StaticFunction.CheckSql2(txt_TemplateName.Text);
Tmp_sell_type=StaticFunction.CheckSql2(txt_sell_type.Text);
Tmp_in_acct_type=StaticFunction.CheckSql2(txt_in_acct_type.Text);
Tmp_sell_sub_type=StaticFunction.CheckSql2(txt_sell_sub_type.Text);
Tmp_Province = base.Request.Form["Select1"];
Tmp_City = base.Request.Form["Select2"];
if (ck_isStart.Checked == true)
{
IsStartCity = true;
}
string username=conn.MyCookie.getCookie("MLoginUser");
Remark = StaticFunction.CheckSql2(txt_Remark.Value);
string InterfaceType = ddl_type.SelectedValue;
string AccountName = StaticFunction.CheckSql2(txt_AccountName.Text);
string GoodsType = StaticFunction.CheckSql2(txt_GoodsType.Text);
decimal ExchangeRatio = decimal.Parse(StaticFunction.CheckSql2(txt_ExchangeRatio.Text));
int k = tmt.Add(Tmp_Name, Tmp_sell_type, Tmp_in_acct_type, Tmp_sell_sub_type, Tmp_Province, Tmp_City, Remark, username, IsStartCity, InterfaceType,GoodsType,ExchangeRatio,AccountName);
if (k > 0)
{
// MsgBox.Alert("更新成功");
jsString += "dlg.Msg.Cor(\"添加成功\");setTimeout('Go(\"ZtcTemplateList.aspx\")', 2000);";
//base.Response.Redirect(this.ViewState["retu"].ToString());
后面还有 9 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。