30-10-20, 12:12 AM
(آخر تعديل لهذه المشاركة : 30-10-20, 12:14 AM {2} بواسطة asemshahen5.)
PHP كود :
Txt_InvCount.Text = dgvItems.Rows.Cast(Of DataGridViewRow).Where(Function(row) CStr(row.Cells(0).Value) = True).Select(Function(row) CDbl(Val(row.Cells(0).Value))).Count()
PHP كود :
Private Sub dgvItems_CellValueChanged(sender As Object, e As DataGridViewCellEventArgs) Handles dgvItems.CellValueChanged
Txt_InvCount.Text = dgvItems.Rows.Cast(Of DataGridViewRow).Where(Function(row) CStr(row.Cells(0).Value) = True).Select(Function(row) CDbl(Val(row.Cells(0).Value))).Count()
End Sub
سبحان الله وبحمده سبحان الله العظيم و الحمد لله ولا اله الا الله والله اكبر
