This is a discussion on VB .Net: Locating Controls by name - basic.visual ; I am trying to create a small little application, that retrieves the name of the control for which I need to get some input from from the a database. At run time, I want to be able to get the ...
I am trying to create a small little application, that retrieves the
name of the control for which I need to get some input from from the a
database. At run time, I want to be able to get the control
properties by just knowing the name of the control.
Something like
oControl = GetControlByName(strName)
Does anyone know of a .Net functionality to do this, or is this
something where I will have to parse through all the controls on the
form like I had done a "while" back on a VB 6 app.
Thanks for any input.
Best Regards,
Louis T.