我有一个Ajax编辑器在我的网页:编辑
<cc1:Editor ID="Editor1" runat="server" width="600px"/>
我想是为了节省从编辑到我database.I试过,但它不会工作内容:
SqlCommand cmd = new SqlCommand(
"INSERT INTO titlu (descriere) Values(@descriere)",con);
cmd.Parameters.AddWithValue("@descriere", Editor1.Content);
我使用C#,这是一个ASP.Net Web应用程序。为什么我不能挽救我的数据?
启动调试器 - 进入它 - 然后如果你不能看到什么是错误的后代码的地方行为不同,你期望的。 – dice 2012-03-04 17:25:24
这是它的行为不同的部分..我可以从编辑器中获取值并将其插入到我的数据库中 – Rares 2012-03-04 18:59:16