I have an Ajax Editor in my page:
<cc1:Editor ID="Editor1" runat="server" width="600px"/>
What I want is to save the content from the Editor to my database.I tried this but it won't work:
SqlCommand cmd = new SqlCommand(
"INSERT INTO titlu (descriere) Values(@descriere)",con);
cmd.Parameters.AddWithValue("@descriere", Editor1.Content);
I am using C# and it's a ASP.Net web application.. Why can't I save my data?
Sumit Kesarwani
22-Aug-2014