private void bntAddInfo_Click_1(object sender, EventArgs e)
        {
            DTOTeam _dtoTeam = new DTOTeam();
            BUSTeam _busTeam = new BUSTeam();

            _dtoTeam.name = txtName.Text.Trim();
            _dtoTeam.logo = logo_byte;
            _dtoTeam.address = txtAddress.Text.Trim();
            _dtoTeam.chairman = txtChairman.Text.Trim();
            _dtoTeam.cEO = txtCEO.Text.Trim();
            _dtoTeam.email = txtEmail.Text.Trim();
            _dtoTeam.fax = txtFax.Text.Trim();
            _dtoTeam.stadiumID = "ST0002";
            _dtoTeam.phoneNumber = txtTel.Text.Trim();
            _dtoTeam.teamID = "T00002";
            _dtoTeam.establishedYear = txtYear.Text.Trim();

            if (_busTeam.insertTeam(_dtoTeam) > 0)
            {
                MessageBox.Show("Them Thanh cong");
            }
        }
        private void UserControl1_Load(object sender, EventArgs e)
        {
            BUSTeam t = new BUSTeam();
            DataTable dt = t.getAllData();
            string teamName = (dt.Rows[0].ItemArray[2]).ToString();

            byte[] logo = (byte[])(dt.Rows[0]["Logo"]);

            MemoryStream memory = new MemoryStream(logo);
            AddTtem(Image.FromStream(memory), teamName);
        }