darkstagg
asked on
Building LoginID from multiple textBox Strings
Hi,
I have a C# windows form built. I want to get input from the user and build a loginID from that input. So for example. I have 3 textboxes. the first is for input of the first name. The second is for input of the last name. The third textbox should display the last three chars of the lastname combined with the first 2 chars of the first name.
I want this to happen dynamically as the user types in the name. I understand how to break the string apart into chars but I am unclear where to put this code so it updates the third textbox as the user types the data in.
Thanks for your help
darkstag@earthlink.net
I have a C# windows form built. I want to get input from the user and build a loginID from that input. So for example. I have 3 textboxes. the first is for input of the first name. The second is for input of the last name. The third textbox should display the last three chars of the lastname combined with the first 2 chars of the first name.
I want this to happen dynamically as the user types in the name. I understand how to break the string apart into chars but I am unclear where to put this code so it updates the third textbox as the user types the data in.
Thanks for your help
darkstag@earthlink.net
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Very cool thanks. Thats where I was going wrong on the textbox part. Now I do have it accurately reacting on change. It looks like I havent quite figured out the character input part yet. But I will give it a try before asking for more from you.
Sincere thanks I really appreciate it.
darkstag@earthlink.net
Sincere thanks I really appreciate it.
darkstag@earthlink.net
ASKER
Thanks
darkstag@earthlink.net