// 初始化 protected void Page_Load(object sender, EventArgs e) { string typeName = Request.QueryString["type"]; this.SimpleForm1.EntityTypeName = Asp.GetQueryString("type"); this.SimpleForm1.EntityID = Asp.GetQueryIntValue("id").Value; this.SimpleForm1.Mode = this.Mode; this.SimpleForm1.InitForm(); }