02-02-18, 02:20 AM
تقييم الموضوع :
|
[VB.NET] ضرب اعمدة الداتا جريد فيو
|
|
03-02-18, 09:22 PM
(آخر تعديل لهذه المشاركة : 03-02-18, 09:24 PM {2} بواسطة nooralcown.)
سيدي الفاضل اعتقد ممكن هيك تزبط
For Each rc As DataGridViewRow In Me.DataGridView2.Rows If DataGridView2.CurrentRow.Cells(2).Value = Nothing Then Return If DataGridView2.CurrentRow.Cells(3).Value = Nothing Then Return rc.Cells(5).Value = rc.Cells(2).Value * rc.Cells(3).Value Next ضع الكود ضمن الحدث CellEndEdit انا جربتها تمام اذا حابب تعمل كل سطر لحاله تفضل If DataGridView2.CurrentRow.Cells(2).Value = Nothing Then Return If DataGridView2.CurrentRow.Cells(3).Value = Nothing Then Return DataGridView2.CurrentRow.Cells(5).Value = DataGridView2.CurrentRow.Cells(2).Value * DataGridView2.CurrentRow.Cells(3).Value برضو ضمن الحدث CellEndEdit اتمني ان اكون جاوبتك |
|
|
يقوم بقرائة الموضوع: بالاضافة الى ( 1 ) ضيف كريم

