By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,458 Members | 1,215 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,458 IT Pros & Developers. It's quick & easy.

.NET beginniner using FCKeditor.

P: n/a
Hello:

I'm really new to both .NET and SQL, and I am still learning. I have
the FCKeditor working, meaning that it displays in my page, and I have
the SQL connection string established, but I'm a little lost beyond
that. I've checked out the FCKeditor WiKi, but since I'm still new to
this whole thing, some of it is a little technical, and as a result,
makes little sense to me.

How do I get FCKeditor to output to a database, creating a new record?
I know i need an insert command, but I dont know the syntax for it.
Could someone pleasea point me in the right direction?

Here is the page so far:

<%@ Page ValidateRequest="false" Language="VB" AutoEventWireup="false"
CodeFile="Default.aspx.vb" Inherits="sandbox_Default" %>
<%@ Register TagPrefix="FCKeditorV2" Namespace="FredCK.FCKeditorV2"
Assembly="FredCK.FCKeditorV2" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://
www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
<title>Text Editor Test</title>
</head>
<body>
<form id="form1" runat="server">
<asp:SqlDataSource ID="SqlDataSource1" runat="server"
ConnectionString="<%$ ConnectionStrings:Hacres %>"></
asp:SqlDataSource>
<table style="width: 750px">
<tr>
<td style="width: 750px">
<FCKeditorV2:FCKeditor ID="FCKeditor1" BasePath="FCKeditor/"
runat="server" />
<br />
<input type="Submit" value="Submit" runat="server" /></td>
</tr>
</table>
</form>
</body>
</html>

------------------------------------------------------------------------------------------
As you can see, the actual connection string is in the web.config.

Apr 20 '07 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.