RM.Web/RMBase/SysOrg/Organization_Form.aspx.cs
(开头部分) 3KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
using RM.Busines;
using RM.Common.DotNetBean;
using RM.Common.DotNetCode;
using RM.Common.DotNetData;
using RM.Common.DotNetUI;
using RM.Web.App_Code;
using System;
using System.Collections;
using System.Data;
using System.Text;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
namespace RM.Web.RMBase.SysOrg
{
public class Organization_Form : PageBase
{
private string _key;
private string _ParentId;
protected HtmlForm form1;
protected HtmlInputText Organization_Code;
protected HtmlInputText Organization_Name;
protected HtmlInputText Organization_Manager;
protected HtmlInputText Organization_AssistantManager;
protected HtmlInputText Organization_InnerPhone;
protected HtmlInputText Organization_OuterPhone;
protected HtmlInputText Organization_Fax;
protected HtmlInputText Organization_Zipcode;
protected HtmlSelect ParentId;
protected HtmlInputText SortCode;
protected HtmlInputText Organization_Address;
protected HtmlTextArea Organization_Remark;
protected LinkButton Save;
protected void Page_Load(object sender, EventArgs e)
{
this._key = base.Request["key"];
this._ParentId = base.Request["ParentId"];
if (!base.IsPostBack)
{
this.InitParentId();
if (!string.IsNullOrEmpty(this._ParentId))
{
this.ParentId.Value = this._ParentId;
}
if (!string.IsNullOrEmpty(this._key))
{
this.InitData();
}
}
}
private void InitData()
{
Hashtable ht = DataFactory.SqlDataBase().GetHashtableById("Base_Organization", "Organization_ID", this._key);
if (ht.Count > 0 && ht != null)
{
ControlBindHelper.SetWebControls(this.Page, ht);
}
}
private void InitParentId()
{
StringBuilder strSql = new StringBuilder();
后面还有 49 行代码,解锁后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明
AI 解读
登录后可用,每次 10 积分,解读结果公开显示在下面。
还没有人解读过这个文件。
