Link to home
Start Free TrialLog in
Avatar of RadhaKrishnaKiJaya
RadhaKrishnaKiJaya

asked on

Change textbox ID dynamically

Hi Experts,

I have 7 stations in my project. If the station ID is 1 then I want to display some text in textbox1.text. If station ID is 2 then display text in textbox2. So how can I change the ID of the textbox dynamically.

Thanks.
Avatar of RadhaKrishnaKiJaya
RadhaKrishnaKiJaya

ASKER

Thanks.
When you say change the ID are you saying you want the (Name) property to be dynamic?  So you have a Form with one textbox on it and depending on what stating the program is on you want the (Name) to change?  

Where are you getting the Station ID from?  Is it from the computer name the app is running on?
ASKER CERTIFIED SOLUTION
Avatar of Mike Tomlinson
Mike Tomlinson
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Excellent!! Thank you very much for your help.