kennedymr2
Programmer
I have a form with 6 datagridview controls ie datagridview1 datagridview2 etc
I need to loop through the 6 controls to set columnscount etc
rather than doing 6 seperate loops , is there a way eg
for ll= 1 to 6
With datagridview & str(ll)
???.columnscount=12
end with
next ll
Really appreciate some help
Regards Kennedymr2
I need to loop through the 6 controls to set columnscount etc
rather than doing 6 seperate loops , is there a way eg
for ll= 1 to 6
With datagridview & str(ll)
???.columnscount=12
end with
next ll
Really appreciate some help
Regards Kennedymr2