Esempio n. 1
0
 protected void Page_Load(object sender, EventArgs e)
 {
     base.Response.Cache.SetNoStore();
     if (!this.Page.IsPostBack)
     {
         this.CorpCode = base.Request.QueryString["code"];
         this.RecordId = Convert.ToInt32(base.Request.QueryString["mid"]);
         if (this.RecordId != 0)
         {
             this.MeetingroomID = this.RecordId;
             this.setData();
         }
         else
         {
             this.SetCorpName(this.CorpCode);
             object obj = ConferenceManage.QueryMeetingroomID();
             if (obj == null)
             {
                 this.MeetingroomID = 1;
             }
             else
             {
                 this.MeetingroomID = Convert.ToInt32(obj) + 1;
             }
         }
         this.Bind();
     }
 }