private void PopulateDataGrideview()
        {
            Search_Acco_BL searchAcobl = new Search_Acco_BL();
            DataTable      dt          = new DataTable();

            dt = searchAcobl.GetExistingSearchAccoFromBL();
            searchaccodataGridView1.DataSource = dt;
        }
        private void button1_Click(object sender, EventArgs e)
        {
            Accounts aco = new Accounts();

            aco.AID = Accountidtextbox.Text;
            Search_Acco_BL acobl  = new Search_Acco_BL();
            DataTable      result = acobl.Search_ACCOANDSendToDAL(aco);

            if (result != null)
            {
                searchaccodataGridView1.DataSource = result;
                Accountidtextbox.Text = "";
            }
            else
            {
                MessageBox.Show("An Error Has been Occured");
            }
        }