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.
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.
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?
Where are you getting the Station ID from? Is it from the computer name the app is running on?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Excellent!! Thank you very much for your help.
ASKER