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

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://">

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

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.