Click here to Skip to main content
11,721,385 members (83,106 online)
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 9: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 Sergey Alexandrovich Kryukov 380
1 OriginalGriff 254
2 Mika Wendelius 170
3 cyycoish 70
4 ppolymorphe 66
0 Sergey Alexandrovich Kryukov 2,249
1 OriginalGriff 1,024
2 F-ES Sitecore 690
3 Maciej Los 619
4 Richard MacCutchan 580


Advertise | Privacy | Mobile
Web02 | 2.8.150901.1 | Last Updated 13 Jan 2013
Copyright © CodeProject, 1999-2015
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