private void LoadRecord() { Int32 iID = Convert.ToInt32(Common.Decrypt(Request.QueryString["id"], Session.SessionID)); ContactGroups clsContactGroup = new ContactGroups(); ContactGroupDetails clsDetails = clsContactGroup.Details(iID); clsContactGroup.CommitAndDispose(); lblContactGroupID.Text = clsDetails.ContactGroupID.ToString(); txtContactGroupCode.Text = clsDetails.ContactGroupCode; txtContactGroupName.Text = clsDetails.ContactGroupName; cboContactGroupCategory.SelectedIndex = Convert.ToInt16(clsDetails.ContactGroupCategory) - 1; }