Web/ht/webSet/Modify.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 Wld.DBCore;
using Maticsoft.Common;
using BaspPage;
public partial class template_nongye_ht_webSet_Modify : CommonPage
{
DBHelperSql bll = new DBHelperSql();
protected void Page_Load(object sender, EventArgs e)
{
if (!Page.IsPostBack)
{
if (Request.Params["id"] != null && Request.Params["id"].Trim() != "")
{
int id = (Convert.ToInt32(Request.Params["id"]));
ShowInfo(id);
}
}
}
private void ShowInfo(int id)
{
webSet temp = new webSet();
temp.Id = id;
webSet model = bll.GetRow<webSet>(temp);
this.lblid.Text = model.Id.ToString();
this.txtqymc.Text = model.Txtqymc;
this.zcz.Text=model.Zcz;
this.txtaddress.Text=model.Txtaddress;
this.txtfax.Text=model.Txtfax;
this.txttel.Text=model.Txttel;
this.txtwebBAH.Text= model.TxtwebBAH;
this.txtgzh1.Text= model.Txtgzh1;
this.txtgzh2.Text= model.Txtgzh2;
}
public void btnSave_Click(object sender, EventArgs e)
{
int id = int.Parse(this.lblid.Text);
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;
后面还有 24 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。
