Print Page | Close Window

how can i place the data into database

Printed From: Web Wiz Forums
Category: Web Wiz Web App Support Forums
Forum Name: Web Wiz Rich Text Editor (RTE)
Forum Description: Support forum for the Web Wiz Rich Text Editor (RTE).
URL: https://forums.webwiz.net/forum_posts.asp?TID=22641
Printed Date: 28 March 2026 at 11:23pm
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: how can i place the data into database
Posted By: mmmmm
Subject: how can i place the data into database
Date Posted: 09 February 2007 at 12:19pm
hi all

i have downloaded web wiz rich text editor (http://www.webwiz.net/asp/sample_scripts/RTE_application.asp) for my project by i couldn't place the data into database...

this option is modfying in display_form_submission.asp file....

Quote 'Read in the data posted from the editor
strEditorContent = Request.Form("myTextarea")



'*******************************************************************
'***     Start - What can I do with the data from the editor???     ****
'*******************************************************************


'In this eample we are just displaying the data in a web page, but you could enter it into a database

'You could place the data from the editor in the variable strEditorContent into a database here

'To findout how to save data to an MS Access database please see:-
'     Connecting to an Access database - http://www.webwiz.net/asp/tutorials/connecting_to_a_database.asp
'     Saving data to an Access database - http://www.webwiz.net/asp/tutorials/add_to_database.asp


'*******************************************************************
'***     End - What can I do with the data from the editor???     ****


how can i do it please help me ?



Replies:
Posted By: WebWiz-Bruce
Date Posted: 09 February 2007 at 12:43pm
You need to write your project first just using a normal textarea and do whatever you need with the submitted data yourself.

Then you simply apply the RTE to your projects textarea that you have already built.


-------------
https://www.webwiz.net/web-wiz-forums/forum-hosting.htm" rel="nofollow - Web Wiz Forums Hosting
https://www.webwiz.net/web-hosting/windows-web-hosting.htm" rel="nofollow - ASP.NET Web Hosting


Posted By: mmmmm
Date Posted: 09 February 2007 at 1:11pm
when i write this codes i get internal server error


'Read in the data posted from the editor
strEditorContent = Request.Form("myTextarea")

'*******************************************************************
'***     Start - What can I do with the data from the editor???     ****
'*******************************************************************

set kaydet =server.createobject("adodb.recordset")
sql = "select * from deneme"
kaydet.open sql,syk54,1,3

kaydet.addnew

kaydet ("myTextarea") = strEditorContent
kaydet.update

kaydet.close
set kaydet = Nothing
syk54.close
set syk54 = Nothing


'*******************************************************************
'***     End - What can I do with the data from the editor???     ****
'*******************************************************************


Posted By: WebWiz-Bruce
Date Posted: 09 February 2007 at 2:52pm
Please see my last post and if you also follow the install instructions you will find that this file is meant to be deleted as it is only their for a demo.


-------------
https://www.webwiz.net/web-wiz-forums/forum-hosting.htm" rel="nofollow - Web Wiz Forums Hosting
https://www.webwiz.net/web-hosting/windows-web-hosting.htm" rel="nofollow - ASP.NET Web Hosting


Posted By: mmmmm
Date Posted: 09 February 2007 at 5:46pm
ok boss i understood :)

thanx



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net