protected void Bind_GridViewAccounts(string term)
        {
            List <Classes.Entity.Account> accounts = accountBLL.GetAllAccounts(term);

            ViewState["GridViewAccounts"] = accounts;
            GridViewAccounts.DataSource   = accounts;
            GridViewAccounts.DataBind();
        }
        private void btnShow_Click(object sender, EventArgs e)
        {
            TableUser.Items.Clear();
            listAccount = control.GetAllAccounts();
            int stt = 0;

            foreach (AccountDTO acc in listAccount)
            {
                TableUser.Items.Add(acc.getUsername());
                TableUser.Items[stt].SubItems.Add(acc.getPassword());
                TableUser.Items[stt].SubItems.Add(acc.getType().ToString());
                TableUser.Items[stt].SubItems.Add(acc.getRealName());
                TableUser.Items[stt].SubItems.Add(acc.getPhoneNumber());
                TableUser.Items[stt].SubItems.Add(acc.getEmail());
                TableUser.Items[stt].SubItems.Add(acc.getAddress());
                stt++;
            }
            MessageBox.Show("Da lay het danh sach tai khoan");
        }