// Load du lieu tu database vao datagridview public void LoadData() { // Code chinh dataGridView1.DataSource = ctr.Load(); label_CountRecord.Text = (dataGridView1.Rows.Count - 1).ToString() + "/" + (dataGridView1.Rows.Count - 1).ToString(); }
// Load du lieu tu database vao datagridview public void LoadData() { // Code chinh dataGridView1.DataSource = ctr.Load(); label_CountRecord.Text = (dataGridView1.Rows.Count - 1).ToString() + "/" + (dataGridView1.Rows.Count - 1).ToString(); }