Error:
A potentially dangerous Request.Form value was detected from the client (ctl00$ContentPlaceHolder1$htmlCode="table style="backgr...")
Code:
SqlConnection n_con = new SqlConnection(constring);
n_con.Open();
string N_Query = "update imageAd set code = '"+textbox1.text+"' where id = '" + id + "'";
SqlCommand N_cmd = new SqlCommand(N_Query, n_con);
N_cmd.ExecuteNonQuery();
SQL 2008 Simple?