private void UserControl1_Load(object sender, EventArgs e) { BangDoan.DataSource = bus.getDoan(); for (int i = 0; i < bus1.getMaTour().Rows.Count; i++) { cbbMaTour.Items.Add(bus1.getMaTour().Rows[i]["MATOUR"].ToString()); } }
private void GUI_DOAN_Load(object sender, EventArgs e) { BangDoan.DataSource = bus.getDoan(); }