c# dynamic control names

Posted by arnoldino on Stack Overflow See other posts from Stack Overflow or by arnoldino
Published on 2010-05-17T14:37:20Z Indexed on 2010/05/17 14:40 UTC
Read the original article Hit count: 353

Filed under:
|
|
|

hello

I'm working with .NETCF framwork in c#, and I want to know if I can access the controls somehow like this:

string field="txtName";
this.Controls[field];

or is this impossibile?

© Stack Overflow or respective owner

Related posts about c#

Related posts about controls