Question : Saving ComponentOne Winform c1Editor to SQL Server

I'm working on a program that has a RichText requirement for a textbox entry on a Winform application, with many of features available to richtext such as bullets, indention, bold, italics, underline. My company bought the ComponentOne Winform package to help and in it is a c1Editor control which has nearly every feature we need.

What I need is a code sample of how to insert the c1Editor document into a SQL Server database, and how to retrieve it later and populate a c1Editor.

From the website:
"Load and Save Documents
Load Xhtml documents into C1Editor from a file, stream, or XML string. And likewise, you can save documents into a file or stream."

Unfortunately, there's no examples of exactly how to do this in the documentation and Google isn't helping.


Answer : Saving ComponentOne Winform c1Editor to SQL Server

SELECT * FROM table WHERE name LIKE '%value%' OR descrip LIKE '%value%'

Doesn't work?

Random Solutions  
 
programming4us programming4us