Пример #1
0
 private void Form1_Load(object sender, EventArgs e)
 {
     // TODO: This line of code loads data into the 'vUGDataSet13.Transfer' table. You can move, or remove it, as needed.
     this.transferTableAdapter1.Fill(this.vUGDataSet13.Transfer);
     // TODO: This line of code loads data into the 'vUGDataSet12.Transfer' table. You can move, or remove it, as needed.
     // this.transferTableAdapter.Fill(this.vUGDataSet12.Transfer);
     // TODO: This line of code loads data into the 'vUGDataSet11.Coach' table. You can move, or remove it, as needed.
     this.coachTableAdapter.Fill(this.vUGDataSet11.Coach);
     // TODO: This line of code loads data into the 'vUGDataSet10.Team' table. You can move, or remove it, as needed.
     this.teamTableAdapter.Fill(this.vUGDataSet10.Team);
     // TODO: This line of code loads data into the 'vUGDataSet9.Penance' table. You can move, or remove it, as needed.
     // this.penanceTableAdapter.Fill(this.vUGDataSet9.Penance);
     // TODO: This line of code loads data into the 'vUGDataSet8.LichThiDauVong4' table. You can move, or remove it, as needed.
     this.lichThiDauVong4TableAdapter.Fill(this.vUGDataSet8.LichThiDauVong4);
     // TODO: This line of code loads data into the 'vUGDataSet7.LichThiDauVong3' table. You can move, or remove it, as needed.
     this.lichThiDauVong3TableAdapter.Fill(this.vUGDataSet7.LichThiDauVong3);
     // TODO: This line of code loads data into the 'vUGDataSet6.LichThiDauVong2' table. You can move, or remove it, as needed.
     this.lichThiDauVong2TableAdapter.Fill(this.vUGDataSet6.LichThiDauVong2);
     // TODO: This line of code loads data into the 'vUGDataSet5.LichThiDauVong1' table. You can move, or remove it, as needed.
     this.lichThiDauVong1TableAdapter.Fill(this.vUGDataSet5.LichThiDauVong1);
     // TODO: This line of code loads data into the 'vUGDataSet.Fotball_Player' table. You can move, or remove it, as needed.
     this.fotball_PlayerTableAdapter.Fill(this.vUGDataSet.Fotball_Player);
     // TODO: This line of code loads data into the 'vUGDataSet2.Coach' table. You can move, or remove it, as needed.
     // this.coachTableAdapter.Fill(this.vUGDataSet2.Coach);
     // TODO: This line of code loads data into the 'vUGDataSet1.Team' table. You can move, or remove it, as needed.
     // this.teamTableAdapter.Fill(this.vUGDataSet1.Team);
     dataGridView2.DataSource = Fotball_Player_BUS.LoadDanhSachTatCaCauThu();
 }
Пример #2
0
        private void btnDEL_Click(object sender, EventArgs e)
        {
            string id_fp = tbMaCauThu.Text.ToString();

            Fotball_Player_BUS.XoaCauThu(id_fp);
            dataGridView1.DataSource = Fotball_Player_BUS.LoadDanhSachTatCaCauThu();
        }
Пример #3
0
 private void bntLoadDSCauThu_Click(object sender, EventArgs e)
 {
     dataGridView2.DataSource = Fotball_Player_BUS.LoadDanhSachTatCaCauThu();
 }