Web/Sell/ProductType.aspx.cs
(开头部分) 6KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;
using ZWL.DBUtility;
using ZWL.Common.Module;
public partial class Sell_ProductType : BasePage
{
protected void Page_Load(object sender, EventArgs e)
{
if (!IsPostBack)
{
if (Request.QueryString["Action"] != null)
{
string Action = Request.QueryString["Action"];
ViewState["ID"] = Request.QueryString["ID"];
int ID = Convert.ToInt32(int.Parse(ViewState["ID"].ToString()));
switch (Action)
{
case "add":
if (ID == 0)
{
this.LabUpJob.Text = "已经是最高级了";
}
else
{
ZWL.BLL.ERPProductType Model = new ZWL.BLL.ERPProductType();
Model.GetModel(int.Parse(ViewState["ID"].ToString()));
this.LabUpJob.Text = Model.TypeStr;
}
this.Label1.Text = "添加";
this.LBtnEdit.Visible = false;
this.LBtnAdd.Visible = true;
break;
case "edit":
//model = Factory.getS_GroupDAL().getS_GroupByID(int.Parse(ViewState["ID"].ToString()));
//if (model != null)
//{
// GetCheckNode(tvMenu.Nodes[0]);
// this.LabUpJob0.Text = model.UpJob;
// this.txtbh.Text = model.GroupNo;
// this.TxtTypeStr.Text = model.TypeStr;
// this.Txtms.Text = model.Description;
// Panel2.Visible = true;
// Panel1.Visible = false;
// this.LBtnAdd.Visible = false;
// this.LBtnEdit.Visible = true;
后面还有 104 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明
AI 解读
登录后可用,每次 10 积分,解读结果公开显示在下面。
还没有人解读过这个文件。
