how to convert to C# (based on forloop) [Resolved]

Posted by Oswaldlily under ASP.NET on 12/28/2011 | Points: 10 | Views : 1193 | Status : [Member] | Replies : 1
With datagridview
For row = 0 To .RowCount - 1
If .Rows(row).Visible = False Then Continue For
next
end with

How to convert this to C#




Responses

Posted by: Hmanjarawala on: 12/28/2011 [Member] Bronze | Points: 50

Up
0
Down

Resolved
for(int row=0; row<datagridview.Rows.Count; row++){
if(datagridview.Rows[row].Visible == false)
continue;
}

Himanshu Manjarawala
Sr. Software Engineer@AutomationAnywhere
http://fieredotnet.wordpress.com/

Oswaldlily, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response