string m_sql = "insert into Customer(Id,Details) values('"+TextBox1.Text.Trim()+"','" + FCKeditor1.Value.Trim() + "')";
LS正解
啥检验?你是指编译,还是运行?
string cmdText = string.Format("insert into Customer(Id,Details) values('{0}','{1}')",TextBox1.Text.Trim(),FCKeditor1.Value.Trim());
你文本框就知道用+拼接,后面的怎么不拼接了呢。疑问:你ID是字符串类型的?