Difference between datagridview.rowcount and For each row in Datagridview.Rows
Visual Basic
1
Posts
1
Posters
0
Views
1
Watching
-
Hi, I'm new in VB.NET I would like to ask what difference of these code
For z = 0 to datagridview.rowcount - 1
'.. code to process ..
nextwith these one
for each row in datagridview.rows
'.. Code to process
nextwhich one is faster ? Thank you for your enlightment