Click here to Skip to main content
15,944,397 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hey! i have a simple question: for example i have the following saved in a text file:
i want to take the Username, Password and ID and put each in a separate text box
so i will have: usernametextbox.text = "Username"
and passwordtextbox.text = "Password"
and idtextbox.text = "ID" (username ,password and ID are changed depending on each user)
how can i do that?
Updated 13-Apr-10 4:23am

1 solution

Try this:
Dim Field As String = "Username#Password#Id"
Dim Fields() As String = Field.Split("#")

UserTextbox.Text = Fields(0)
PasswordTextbox.Text = Fields(1)
IDTextbox.Text = Fields(2)
Share this answer

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900