How to add TinyMCE into ASP form?

asp.net Denmark
  • 15 years ago
    Will you please help me to add TinyMCE into my ASP form? I would like to know where and how to place TinyMCE in my form.
    This a link to the TinyMCE  

    This is the form:

    <%

    'Dimension variables
    Dim adoCon             'Holds the Database Connection Object
    Dim rsInterse            'Holds the recordset for the record to be updated
    Dim strSQL            'Holds the SQL query for the database
    Dim lngRecordNo            'Holds the record number to be updated

    'Read in the record number to be updated
    lngRecordNo = CLng(Request.QueryString("ID"))

    'Create an ADO connection odject
    Set adoCon = Server.CreateObject("ADODB.Connection")

    'Set an active connection to the Connection object using a DSN-less connection
    adoCon.Open "DRIVER={Microsoft Access Driver (*.mdb)}; DBQ=" & Server.MapPath("interse.mdb")

    'Set an active connection to the Connection object using DSN connection
    'adoCon.Open "DSN=interse"

    'Create an ADO recordset object
    Set rsInterse = Server.CreateObject("ADODB.Recordset")

    'Initialise the strSQL variable with an SQL statement to query the database
    strSQL = "SELECT tblHome.* FROM tblHome WHERE ID=" & lngRecordNo

    'Open the recordset with the SQL query
    rsInterse.Open strSQL, adoCon
    %>

    <html>
    <head>
    <title>Guestbook Update Form</title>
    </head>
    <body bgcolor="white" text="black">
    <!-- Begin form code -->
    <form name="form" method="post" action="update_entry.asp">
    <textarea name="overview1" cols="50" rows="5" wrap="VIRTUAL"><% = rsInterse("overview1") %></textarea>
    <br>
     Overview-1: <input type="text" name="overview3" maxlength="20" value="<% = rsInterse("overview1") %>">  
     <br>
     Overview-2: <input type="text" name="overview2" maxlength="60" value="<% = rsInterse("overview2") %>">
     <input type="hidden" name="ID" value="<% = rsInterse("ID") %>">
     <input type="submit" name="Submit" value="Submit">
    </form>
    <!-- End form code -->
    </body>
    </html>
    <%
    'Reset server objects
    rsInterse.Close
    Set rsInterse = Nothing
    Set adoCon = Nothing
    %>

    Thanks

Post a reply

No one has replied yet! Why not be the first?

Sign in or Join us (it's free).

Contribute

Why not write for us? Or you could submit an event or a user group in your area. Alternatively just tell us what you think!

Our tools

We've got automatic conversion tools to convert C# to VB.NET, VB.NET to C#. Also you can compress javascript and compress css and generate sql connection strings.

“I invented the term Object-Oriented, and I can tell you I did not have C++ in mind.” - Alan Kay