Customize Report Desginer

Hello,
I want to customize the Report Designer, and then save it into the database. If I want to use it , I only need to load it form the database. I use the following codes to saving and loading the report designer, but it doesn???t works well.
Loading code
byte[] bytes = _Report.ReportContent;
System.IO.MemoryStream ms = new System.IO.MemoryStream(bytes);
designerControl1.Report.Load(ms);
Saving code
System.IO.MemoryStream ms = new System.IO.MemoryStream();
designerControl1.Report.Save(ms);
byte[] bytes = ms.GetBuffer();
_Report.ReportContent = bytes;

What should I do? Thanks!
Best Regards,
Candy

Leave a Comment

Rich Text Editor. To edit a paragraph's style, hit tab to get to the paragraph menu. From there you will be able to pick one style. Nothing defaults to paragraph. An inline formatting menu will show up when you select text. Hit tab to get into that menu. Some elements, such as rich link embeds, images, loading indicators, and error messages may get inserted into the editor. You may navigate to these using the arrow keys inside of the editor and delete them with the delete or backspace key.