15-09-19, 02:26 PM
PHP كود :
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
For Each row As DataGridViewRow In DataGridView1.Rows
If row.IsNewRow Then Continue For
If Not row.Cells(0).Value Is Nothing Then Continue For
row.Cells(0).Value = 0
row.Cells(1).Value = 1
row.Cells(2).Value = 2
Exit For
Next
DataGridView1.RowCount += 1
End Sub
سبحان الله وبحمده سبحان الله العظيم و الحمد لله ولا اله الا الله والله اكبر
