Example #1
0
 private void BtnReload_Click_1(object sender, EventArgs e)
 {
     db.Updatesoluong(Convert.ToInt32(dgvGiohang.CurrentRow.Cells[0].Value.ToString()), Convert.ToInt32(txtSoluong.Text));
     txtTien.Text          = db.Tongtien(db.getmakh(email)).ToString();
     dgvGiohang.DataSource = db.GioHangtable(db.getmakh(email));
 }