Quote:
at
string username = textBox1.Text; , string text = textBox2.Text;
the comma to seperate it it says expected }
A simple rereading of your code should show you that it is unusual.
Try
string username = textBox1.Text;
string text = textBox2.Text