Tech
Forums
Jobs
Books
Events
Interviews
Live
More
Learn
Training
Career
Members
Videos
News
Blogs
Login
Sign Up
Ask Question
5
Reply
How can i add a tab in a text ( string)
Cassie Mod
Feb 9 2017 8:39 AM
242
Reply
HI,
Ive got the following question.
I create a string of multiple lines. The last two lines contains the username and password.
But how can i use a tab so it would be printed just underneeth eachother ( see example)
the result should look like this:
Het invoeren en/of updaten van een additioneel toestel is geslaagd.
Gebruikersnaam: Pietje32
Wachtwoord: 1234
How can i do that ???
here is my code to create the string.
private
void
SetScaCredentials(
string
username,
string
password)
{
usernameTextbox.Text = username;
passwordTextbox.Text = password;
var succesText =
"Het invoeren en/of updaten van een additioneel toestel is geslaagd."
+
"<br>"
+
"<br>"
+
"Gebruikersnaam: "
+ usernameTextbox.Text +
"<br>"
+
"Wachtwoord: "
+ passwordTextbox.Text;
SuccessTextLiteral.Text = succesText;
SuccessTextPanel.Visible =
true
;
}
Upload Source Code
Select only zip and rar file.
Post
Reset
Cancel
Answers (
5
)
Next Recommended Forum
Image to text conversion
Create generic response for API