Web/ht/webSet/Add.aspx.cs
(完整代码) 1KBusing System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Maticsoft.Common;
using Wld.DBCore;
using BaspPage;
public partial class template_nongye_ht_webSet_Add : CommonPage
{
DBHelperSql bll = new DBHelperSql();
protected void Page_Load(object sender, EventArgs e)
{
}
protected void btnSave_Click(object sender, EventArgs e)
{
string txtqymc = this.txtqymc.Text;
string zcz = this.zcz.Text;
string txtaddress = this.txtaddress.Text;
string txtfax = this.txtfax.Text;
string txttel = this.txttel.Text;
string txtwebBAH = this.txtwebBAH.Text;
string txtgzh1 = this.txtgzh1.Text;
string txtgzh2 = this.txtgzh2.Text;
webSet model = new webSet();
model.Txtqymc = txtqymc;
model.Zcz = zcz;
model.Txtaddress = txtaddress;
model.Txtfax = txtfax;
model.Txttel = txttel;
model.TxtwebBAH = txtwebBAH;
model.Txtgzh1 = txtgzh1;
model.Txtgzh2 = txtgzh2;
bll.Insert<webSet>(model);
Maticsoft.Common.MessageBox.ShowAndRedirect(this, "保存成功!", "add.aspx");
}
public void btnCancle_Click(object sender, EventArgs e)
{
Response.Redirect("list.aspx");
}
}
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。
