private void BindData() { string id = Request.QueryString["id"]; WHMatSpecBLL bll = null; WHMatSpec info = new WHMatSpec(); try { bll = BLLFactory.CreateBLL <WHMatSpecBLL>(); if (string.IsNullOrEmpty(id) == false) { info.ID = id; info = bll.Get(info); UIBindHelper.BindForm(this.Page, info); this.hiID.Value = info.ID; } else { info = new WHMatSpec(); } } catch (Exception ex) { throw ex; } }