Example #1
0
        private void BlockProfile()
        {
            try
            {
                tbl_MemberMasterProp objtbl_MemberMasterProp = new tbl_MemberMasterProp();
                objtbl_MemberMasterProp.isActive = 4;

                tbl_MemberMasterBAL objtbl_MemberMasterBAL = new tbl_MemberMasterBAL();
                DataSet             dsData = objtbl_MemberMasterBAL.Profile_Summary(objtbl_MemberMasterProp);
                lnkBlockedProfile.Text = "Blocked Profile Records ( " + Convert.ToString(dsData.Tables[0].Rows[0]["MemCount"]).PadLeft(3, '0') + " )";
            }
            catch (Exception ex)
            {
                MessageBox.Show(ex.Message);
            }
        }
Example #2
0
        private void NewRegisteredAccount()
        {
            try
            {
                tbl_MemberMasterProp objtbl_MemberMasterProp = new tbl_MemberMasterProp();
                objtbl_MemberMasterProp.isActive = 0;

                tbl_MemberMasterBAL objtbl_MemberMasterBAL = new tbl_MemberMasterBAL();
                DataSet             dsData = objtbl_MemberMasterBAL.Profile_Summary(objtbl_MemberMasterProp);
                lnkNewRegistered.Text = "New/Unapproved Records ( " + Convert.ToString(dsData.Tables[0].Rows[0]["MemCount"]).PadLeft(3, '0') + " )";
            }
            catch (Exception ex)
            {
                MessageBox.Show(ex.Message);
            }
        }