22-12-19, 05:10 PM
(آخر تعديل لهذه المشاركة : 22-12-19, 05:10 PM {2} بواسطة asemshahen5.)
PHP كود :
Dim LastRow As Integer = 0
If DataGridView1.AllowUserToAddRows = True Then
LastRow = DataGridView1.Rows.Count - 2
Else
LastRow = DataGridView1.Rows.Count - 1
End If
DataGridView1.Rows(LastRow).Selected = True
DataGridView1.CurrentCell = DataGridView1.Rows(LastRow).Cells(0)
سبحان الله وبحمده سبحان الله العظيم و الحمد لله ولا اله الا الله والله اكبر
