private void BtnCapNhatSoLuongMonAnTrongChiTietDonHang_Click(object sender, RoutedEventArgs e) { DataRowView dataRow = dtgDonHang.SelectedItem as DataRowView; BaseDAO.CapNhatSoLuongMonAnTrongChiTietDonHang(Convert.ToInt32(dataRow.Row[0]), selectedChiTietDonHang.MaMonAn, Convert.ToInt32(txtSoLuong3.Text)); }