02-04-24, 07:53 AM
Dim x As Date = Now.ToString("dd-MM-yyyy")
For Each row In DataGridView1.Rows
If x = row.Cells(0).Value Then
label1.text = row.Cells(1).Value
label2.text = row.Cells(2).Value
label3.text = row.Cells(3).Value
label4.text = row.Cells(4).Value
label5.text = row.Cells(5).Value
label6.text = row.Cells(6).Value
End If
Next
جربت هذا كود ماشغال للاسف في error
For Each row In DataGridView1.Rows
If x = row.Cells(0).Value Then
label1.text = row.Cells(1).Value
label2.text = row.Cells(2).Value
label3.text = row.Cells(3).Value
label4.text = row.Cells(4).Value
label5.text = row.Cells(5).Value
label6.text = row.Cells(6).Value
End If
Next
جربت هذا كود ماشغال للاسف في error

