private void CreateMappedSchemeGrid() { try { DataSet dsMappedSchemes = new DataSet(); dsMappedSchemes = commisionReceivableBo.GetMappedSchemes(int.Parse(hdnStructId.Value)); gvMappedSchemes.DataSource = dsMappedSchemes.Tables[0]; gvMappedSchemes.DataBind(); Cache.Insert(userVo.UserId.ToString() + "MappedSchemes", dsMappedSchemes.Tables[0]); pnlGrid.Visible = true; pnlAddSchemesButton.Visible = true; } catch (BaseApplicationException Ex) { throw Ex; } catch (Exception Ex) { BaseApplicationException exBase = new BaseApplicationException(Ex.Message, Ex); NameValueCollection FunctionInfo = new NameValueCollection(); FunctionInfo.Add("Method", "CommissionStructureToSchemeMapping.ascx.cs:void CreateMappedSchemeGrid()"); exBase.AdditionalInformation = FunctionInfo; ExceptionManager.Publish(exBase); throw exBase; } }