private void BindData() { string id = Request.QueryString["id"]; ProductInfoBLL bll = null; ProductInfo info = new ProductInfo(); try { bll = BLLFactory.CreateBLL <ProductInfoBLL>(); if (string.IsNullOrEmpty(id) == false) { info.PID = id; info = bll.Get(info); UIBindHelper.BindForm(this.Page, info); this.hiID.Value = info.PID; this.HiCREATEUSER.Value = info.CREATEUSER; this.HiCREATETIME.Value = info.CREATETIME.ToString(); } else { info = new ProductInfo(); } } catch (Exception ex) { throw ex; } }