I created a datagridview programmatically as follows
dim dg as new datagridview
with dg
.name = "dg"
end with
Now how do I access the rows property of the datagridview control?
I tried me.controls("dg").rows but that give me an incorrect syntax error. 'rows is not a member of system.windows.forms.control'
dim dg as new datagridview
with dg
.name = "dg"
end with
Now how do I access the rows property of the datagridview control?
I tried me.controls("dg").rows but that give me an incorrect syntax error. 'rows is not a member of system.windows.forms.control'