1

I have a vb app that uses configuration files to save data into the database. It's using an editor called "CuteEditor".

Below is what I have for config.

<Fields>
    <Control>CuteEditor</Control>
    <Required>No</Required>
    <Order>17</Order>
    <Label>Main Content</Label>
    <Id>ContentText</Id>
    <Text />
</Fields>

Edit statement in Config.

<sqlUpdate>
DECLARE @id int
UPDATE table SET    
    ContentText = @ContentText,
WHERE ContentId = @ContentId
</sqlupdate>

When I change the control from "CuteEditor" to "Multiline", it works perfectly fine (Saves the content). But when it's CuteEditor, it doesn't.

My guess is the content should be changed to html format. (Just an idea)

view of CuteEditor

Please help. Thanks!

Andrew Morton
  • 24,203
  • 9
  • 60
  • 84
peter
  • 13
  • 2
  • Is that [Cute Editor for ASP.NET](https://cutesoft.net/)? And is "Multiline" an HTML ` – Andrew Morton Aug 03 '18 at 17:51
  • @AndrewMorton Hey, yes, it's Cute Editor for ASP.NET. For "Multiline", I tried to put "Multiline" instead of "CuteEditor" and the content was saved to the database. – peter Aug 03 '18 at 18:55
  • 1) Does "save data into the database" refer to data which is entered into the ``? 2) Is this an app which you have written? – Andrew Morton Aug 03 '18 at 19:05

0 Answers0