03-11-15, 05:59 PM
السلام عليكم وجدت لكم كود صراحة اسهل من الكود القديم الى عندي بس لو تكرم احد الاعضاء ويعطيني كود ابسط منه واسهل اكون شاكر له .
مع تحياتي لكم بالتوفيق
كود :
Try
Dim iCell1 As Integer
Dim icell2 As Integer
Dim icellResult As Integer
iCell1 = DataGridView1.CurrentRow.Cells(1).Value
icell2 = DataGridView1.CurrentRow.Cells(2).Value
icellResult = iCell1 * icell2
DataGridView1.CurrentRow.Cells(3).Value = icellResult
Catch ex As Exception
MessageBox.Show(ex.ToString)
End Try
مع تحياتي لكم بالتوفيق