/// <summary>
        /// Get the LoginIDList for the specified loginID
        /// </summary>
        /// <param name="accID">The login ID to search for.</param>
        /// <returns>DataSet containing LoginID records</returns>
        public void GetLoginIDListByLoginID(DamDataSet.LoginIDListDataTable dsTable, params string[] loginIDs)
        {
            dsTable.Clear();
            if (loginIDs.Length == 0)
            {
                return;
            }

            string query = "SELECT * FROM LoginIDList WHERE";

            for (int i = 0; i < loginIDs.Length; i++)
            {
                if (i != 0)
                {
                    query += " OR";
                }
                query += " LoginID =  '" + loginIDs[i] + "'";
                ;
            }
            query += "";

            SQLiteDataAdapter adpt = new SQLiteDataAdapter(query, GetConnection());

            adpt.Fill(dsTable);
        }
        /// <summary>
        /// Get the LoginIDList for the specified account
        /// </summary>
        /// <param name="accID">The account dir</param>
        /// <returns>DataSet containing LoginID records</returns>
        public void GetLoginIDListByAccDir(DamDataSet.LoginIDListDataTable dsTable, string accDir)
        {
            SQLiteDataAdapter adpt = new SQLiteDataAdapter("SELECT * FROM LoginIDList WHERE AccDir ='" + accDir + "' ORDER BY AccessTime DESC, LoginID", GetConnection());

            dsTable.Clear();
            adpt.Fill(dsTable);
        }