I've learned how to parameterize my text boxes when we're talking about inserting data inside the database, now I'd like to implement the same technique while manually putting the Connection String for the SQL database. My code goes like this:
connectionString = "server=localhost;uid=" + usr.Text + ";pwd=" + pwd.Text;
And I think that it is quite vulnerable to SQL injections. Any suggestions?