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");
            }
        }
 public int updateData(DTOTeam _dtoTeam)
 {
     if (_dtoTeam != null)
     {
         DataExecute.Instance.createSqlCmd("UpdateTeamValue", ref _dtoTeam);
         return DataExecute.Instance.updateData(DataConnection.Instance.m_cmd);
     }
     return 0;
 }
 public int updateTeam(DTOTeam _dtoTeam)
 {
     return m_dalTeam.updateData(_dtoTeam);
 }
 public int insertTeam(DTOTeam _dtoTeam)
 {
     return m_dalTeam.insertData(_dtoTeam);
 }