Exemple #1
0
        public void DeleteAllGroupNames()
        {
            clsDBQueryManager db = new clsDBQueryManager();
            DataSet ds = db.SelectAllData();

            DataTable dt = ds.Tables[0];

            foreach (DataRow dRow in dt.Rows)
            {
                try
                {
                    db.UpdateGroupName();
                }
                catch (Exception ex)
                {

                }
            }
        }
Exemple #2
0
        public void DeleteAllGroupNames()
        {
            clsDBQueryManager db = new clsDBQueryManager();
            DataSet ds = db.SelectAllData();

            DataTable dt = ds.Tables[0];

            if (dt.Rows.Count > 0)
            {
                foreach (DataRow dRow in dt.Rows)
                {
                    try
                    {
                        db.UpdateGroupName();
                    }
                    catch (Exception ex)
                    {

                    }
                }

                AddToLog_Checker("[ " + DateTime.Now + " ] => [ All Group Names Removed. ]");
            }
            else
            {
                AddToLog_Checker("[ " + DateTime.Now + " ] => [ No Accounts Group Name To Be Removed. ]");
            }
        }