Ihave used the following to save the users data in the the SQL table.But the data is not been save.Can anyone pls suggest what is the error?
{
string Name = TextBox4.Text;
String Telephone = TextBox3.Text;
String Email = TextBox2.Text;
String enquiry = TextBox1.Text;
SqlConnection conn = new SqlConnection();
conn.ConnectionString = "data source=.\\SQLEXPRESS;initial catalog=IBservices;integrated security=true;";
SqlCommand cmd = new SqlCommand();
cmd.CommandText = "INSERT INTO contactus1(Name,Telephone,Email,Enquiry) values ('" + TextBox4.Text + "," + TextBox3.Text + "," + TextBox2.Text + "," + TextBox1.Text + "')";
cmd.Connection = conn;
conn.Open();
cmd.ExecuteNonQuery();
conn.Close();
}