30-10-24, 04:41 PM
اريد اختار Row بحسب الوقت اذا كان وقت
time2 as datetime dim
If time2 >= "03:00:00 AM" And time2 <= "5:00:00 AM" Then
'Do something
' Label2.Text = row.Cells(1).Value.ToString()
' Label3.Text = row.Cells(2).Value.ToString()
ElseIf time2 >= "11:00:00 AM" And time2 <= "1:00:00 AM" Then
Dim row As DataGridViewRow = DataGridView1.courrctrow
courrctrow بيحدد اول row فقط
واريد قاعدة بيانات بتاريخ اليوم في اظهار البيانات ؟
time2 as datetime dim
If time2 >= "03:00:00 AM" And time2 <= "5:00:00 AM" Then
'Do something
' Label2.Text = row.Cells(1).Value.ToString()
' Label3.Text = row.Cells(2).Value.ToString()
ElseIf time2 >= "11:00:00 AM" And time2 <= "1:00:00 AM" Then
Dim row As DataGridViewRow = DataGridView1.courrctrow
courrctrow بيحدد اول row فقط
واريد قاعدة بيانات بتاريخ اليوم في اظهار البيانات ؟

