kai pie

kai pie

  • NA
  • 8
  • 577

using @ as Text for a link

Feb 14 2017 10:49 AM
Hello All,
 
I am new to the language of C#. I am try to create a url 
 
public void button1_Click(object sender, EventArgs e)
{
string myip = textBox1.Text;
string password = textBox2.Text;
string username = textBox3.Text;
string at = "@";
string mystring = "http://" + at + username + password + myip + "/command.htm?key= ";
Process.Start(mystring);
 
The result of clicking the button is below in my browser: 
 
 http://adminpassword192.168.123.123/command.htm?key=
 
 How can I get the @ sign to show up in the url in the browser?
 
Any help would be greatly appreciated.
 
Kind  

Answers (3)