private void EditByID(int ID) { SageFrameSearch SFH = new SageFrameSearch(); SageFrameSearchProcedureInfo objInfo = SFH.SageFrameSearchProcedureGet(ID.ToString()); if (objInfo != null) { txtSageFrameSearchTitle.Text = objInfo.SageFrameSearchTitle; txtSageFrameSearchProcedureName.Text = objInfo.SageFrameSearchProcedureName; txtSageFrameSearchProcedureExecuteAs.Text = objInfo.SageFrameSearchProcedureExecuteAs; frmWrapper.Visible = true; gdvWrapper.Visible = false; actionWrapper.Visible = false; Session["EditID"] = ID; } }