Click here to Skip to main content
13,406,574 members (42,182 online)
Rate this:
Please Sign up or sign in to vote.
Hello every body

I cunstructed an EDITOR seems to windows Notepade for my software to bring out special informations and show them to the user.

the user has ability to make some changes like Font size change or bold some where in text by the editor and save in SQL and then print the text via microsoft report viewer but the changes have not shown in report and actualy they don't save anywhere in sql.

now thats my problem, have a self editor but it doesn't save Text editing and font edits in sql.

don't know what to do.

thanks for all
Posted 12-Jan-13 10:28am
PIEBALDconsult 12-Jan-13 15:43pm
I suppose that if you use a RichTextBox you can save the RTF in the database, but I don't know how the report viewer will handle it.

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

The report viewer already has the ability to export in various types (excel, pdf and word) automatically,but it does not allow the user to change the data, we don't know what your Editor is doing with the text, only you can answer that question. 'Esc' chararaters require special handle logic in you editor. Like PIEBALDconsult said, if you use the RichTextBox in your editor it has the ability to create special chars and fonts, I guess instead of printing using the Reportviewer add logic in your Editor program to export to RFT or PDF and print and save the Document in a blob type field in SQL.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy |
Web01 | 2.8.180221.1 | Last Updated 13 Jan 2013
Copyright © CodeProject, 1999-2018
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100