Hl.WebMain/AdmPage/BaseBizManage/ServiceInfoEdit-CustomerGoods.aspx.cs
(开头部分) 4KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data;
using Hl.Code;
using Hl.WebMain.Common;
namespace Hl.WebMain.AdmPage.BaseBizManage
{
public partial class ServiceInfoEdit_CustomerGoods : System.Web.UI.Page
{
#region "全局变量及属性"
public Hl.DataModel.BizServiceInfo ServInfo = null;
public Hl.DataModel.BizServiceInfoCustomerGoodsInfo ThisInfo = null;
#endregion
#region "页面初始及加载"
protected void Page_Load(object sender, EventArgs e)
{
if (!IsPostBack)
{
BindInfo();
VermPerm();
BindData();
}
}
#endregion
#region "绑定数据及验证"
protected void GetModel()
{
ServInfo = Hl.DataBll.BizServiceInfo.Select(DataConvert.ToInt(Request.QueryString["ServiceId"], 0));
if (ServInfo != null)
{
DataTable myDt = DataBll.BizServiceInfoCustomerGoodsInfo.Select("Top 1", "Id", "", "And ServiceId=" + ServInfo.Id, "Order By Id DESC").Tables[0];
if (myDt.Rows.Count > 0)
{
ThisInfo = DataBll.BizServiceInfoCustomerGoodsInfo.Select(DataConvert.ToInt(myDt.Rows[0]["Id"], 0));
}
}
else
{
BtnTool2.Attributes.Add("disabled", "disabled");
}
if (ThisInfo == null)
{
ThisInfo = new DataModel.BizServiceInfoCustomerGoodsInfo();
ThisInfo.Id = 0;
}
}
/// <summary>
后面还有 85 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。
