Saving changes to Database

  •  01-24-2004, 1:51 PM

    Saving changes to Database

    I'm trying to post back to the database but any changes I have
    made in the editor are not saved back to the database.

    When saving, the Request.form("TrainingDescription") and the
    Request.form("TrainingDescription_HTMLContent") objects contain
    the original content pulled from the database no matter what
    changes I have made.

    I looked at the code generated once the page had loaded and
    noticed a hidden tag that contained the original text pulled
    from the database.

    Any suggestions on saving the changes?

    Here's a code snippet:

    Dim editor
    Set editor = New CuteEditor

    editor.ID = "TrainingDescription"
    editor.Text = TrainingDescription
    editor.FilesPath = "../../CuteEditor_Files"
    editor.ImageGalleryPath = "../../NewImages"
    editor.MaxImageSize = 50
    editor.AutoConfigure = "Simple"
    editor.AllowUpload = True
    editor.ShowLogo = false
    editor.Width = 500
    editor.Draw()

    Thanks
View Complete Thread