Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: C# SQL font format Editors , +
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
Comments
PIEBALDconsult at 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
good
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.
  Permalink  

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

  Print Answers RSS
0 Richard MacCutchan 269
1 Aajmot Sk 252
2 Marcin Kozub 235
3 Sergey Alexandrovich Kryukov 185
4 Praneet Nadkar 167
0 OriginalGriff 7,913
1 Sergey Alexandrovich Kryukov 7,232
2 DamithSL 5,604
3 Manas Bhardwaj 4,986
4 Maciej Los 4,865


Advertise | Privacy | Mobile
Web01 | 2.8.1411023.1 | Last Updated 13 Jan 2013
Copyright © CodeProject, 1999-2014
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