Cute Editor and SQL

Last post 01-15-2008, 12:56 PM by peterhansen21. 2 replies.
Sort Posts: Previous Next
  •  01-15-2008, 8:15 AM 36319

    Cute Editor and SQL

    Hi, I'm new to using Cute Editor, and any help would be greatly appreciated.
    I was wondering how to have the text/value of the editor to be filled with data from my sql table on page load.
  •  01-15-2008, 10:08 AM 36325 in reply to 36319

    Re: Cute Editor and SQL

    Hi there,
     
    Assuming you are using .NET, and are able to get your SQL data from the table to a variable, the editor has a text property that you can set. So using default settings and editor name, you would want to add this to your PageLoad sub in the ASP.NET page:
     
    sub PageLoad()
       Editor1.text = YourDataVariable
    end sub
  •  01-15-2008, 12:56 PM 36334 in reply to 36325

    Re: Cute Editor and SQL

    Yeah thanks, didn't know i could set the text property.
View as RSS news feed in XML