How To Add Watermark In Crystal Report In C#



  1. How To Add Watermark In Crystal Report In C# Today
  2. How To Add Watermark In Crystal Report In C# Excel
  • Double-click the Crystal Reports Formulas.rpt. Once the example opens, right-click the barcode report object and select Copy. IDAutomation recommends the Native Code Object encoder over the UFL encoder. Open the desired Crystal Reports file, right-click the report and choose paste.
  • C# Crystal Reports Formula Field The following C# - Crystal Reports section describes how to add a formula field in the Crystal Reports. All C# Crystal Reports Tutorial in this website is based on the following database - crystaldb. So before you begin this section, please.
Crystal

On the Report menu, click Section Expert. The Section Expert dialog box appears. In the Sections list, click Page Header, then select the Underlay Following Sections check box. Click OK to preview the report again.

In one of my previous article, I have shown with example on how to add a Crystal Report using XML data in Asp.Net. Taking a step further, now, in this article, I will demonstrate with an example on how to pass parameters to a Crystal Report dynamically, using Asp.Net.Watermark

How To Add Watermark In Crystal Report In C# Today

I have written this article for beginners who are looking for a solution on passing dynamic parameters to Crystal report.

As I said, it is a continuation of one of my previous article. I am assuming you have checked this article first. It is important to understand how crystal reports are attached to a database table.

Following a similar pattern, we will pass a parameter to the Crystal Report with the click of a button. If necessary, we can pass multiple parameters.

The report we have created for the demo, shows employee details which are fetched from a database table, for a selected financial year. Therefore, the parameter we will pass to the Crystal Report is a string value (it can be anything). Crystal Report will extract employee details from the table using the parameter value we will pass.

Recreate the Employee Detail Report (Add the “Parameter Field”)

Follow these steps

01) Select the Employee.rpt report from the Solution Explorer. The report window will open. This window will have “Field Explorer” window at the left hand corner.

If the field explorer window is not open, then look for the button named Toggle Field View button on the toolbar of the report window. See the picture below.

02) The field explorer window will have the Parameter Fields object. Right click it to create a new parameter field.

03) Once the parameter field is created, drag the newly create field on to the report and place it where you want it to be.

Finally, we will design the Page.

2017

The 'ShowReport()' function (C#)

The 'ShowReport()' function (Vb.Net)

Conclusion

I am hoping this article and its example will help you understand how you can pass parameters, dynamically, to a Crystal report in your Asp.Net project.

We have also seen how you can attach a database table to the Crystal report, design the Crystal report and finally pass parameters from an Asp.Net project to the report.

Thank's for reading :-).

← PreviousNext →


Crystal
Like this Article? Subscribe now, and get all the latest articles and tips, right in your inbox.

Symptom

  • How to add watermark to a report?
  • How to show a pre-printed form on a report?
  • How to design a report with a watermark or a pre-printed form to underlies the data in Crystal Reports?

Read more...
How to add watermark in crystal report in c# word

Environment

  • SAP Crystal Reports 2013
  • SAP Crystal Reports 2016
  • SAP Crystal Reports 2020

Product

SAP Crystal Reports 2013 ; SAP Crystal Reports 2016 ; SAP Crystal Reports 2020

Keywords

BACKGROUND PREPRINTED FORM WATERMARK WALLPAPER UNDERLAY SUPERIMPOSE Seagate Crystal Reports Created backgrounds out of BMP files Formatting sections with 'Underlay following section' , c2005119, CR , KBA , BI-RA-CR , Crystal Reports designer or Business View Manager , How To

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP ONE Support launchpad (Login required).

Search for additional results

How To Add Watermark In Crystal Report In C# Excel

Visit SAP Support Portal's SAP Notes and KBA Search.