hi i want to insert a textbox value into one column of a table.
bt wht i m getting error as:
Exception Details: System.Data.SqlClient.SqlException: Incorrect syntax near '{'.
the code is
SqlCommand comm = new SqlCommand("insert into Sample {'email_id'} values("+ TextBox1.Text+")", conn);
how should i do it if i dont want to use parameter insert query.