Hi all
Anyone can help me? In which way is possibel, that i can set editor-properties from database?
Example-Code:
' Set the ID of this editor-class
strEditorID = "Editor1"
' Create a new editor class-object
Set objEditor = New CuteEditor
objEditor.ID = strEditorID
' Get Properties-Configuration from DB
SQL = "SELECT CE_ItemName, CE_ItemValue FROm tbl_CuteEditor ORDER BY OrderID;"
Set rs = Server.CreateObject("ADODB.Recordset")
rs.Open SQL, Conn, 2, 1, 1
DO WHILE NOT rs.EOF
objEditor.rs("CE_ItemName") = rs("CE_ItemValue")
rs.MoveNext
Loop
rs.Close
Set rs = Nothing
--- cut ---
Can't work... other trys with: objEditor."&rs("CE_ItemName")&" = rs("CE_ItemValue") does't work too. ASP don't allow this.
Anyone from the Support-Team have a other way/ideal to doing the same functionality?
Greetings
Siff