Saving content of editor in database.

Last post 06-22-2010, 5:03 PM by Eric. 1 replies.
Sort Posts: Previous Next
  •  06-22-2010, 2:39 PM 61944

    Saving content of editor in database.

    Hello I just started to use the editor but i cant figure out how to save the editors text into a database.
     
     The next error I get is:
     
     
    Exception Details: System.Data.SqlClient.SqlException: Incorrect syntax near the keyword 'WHERE'.
     
                               Dim returnValue As Integer
    Line 956:            Try
    Line 957:                returnValue = command.ExecuteNonQuery
    Line 958:            Finally
    Line 959:                If (previousConnectionState = Global.System.Data.ConnectionState.Closed) Then
     
    Can someone help me with this? Im just using an normal updatequery to add the editor.text to database.
     
    Thx
    Yours,
     
    Nigel
  •  06-22-2010, 5:03 PM 61945 in reply to 61944

    Re: Saving content of editor in database.

    Please check your sql sentence, sql grammer is incorrect, it leads to this error message.
     
    Regards,
    Eric 
View as RSS news feed in XML