How can I change backcolor/backimage of crystal report in C#.NET VS2008?
In the section expert, you can set a background color on a section. This can be an effective way to highlight a colored band for column headings.
But one effect you may not want is that the band goes all the way across the page. If you want a colored band across the report, but would like it to be narrower, we have a solution.
Create a second section and move it the above the original section.
Set this new section to “Underlay”
Make the section slightly larger than the subsequent section
Insert a box in this section, change the Border Style to “None” and set a fill color
This can be a very effective formatting technique to add some color to your report
This article is copyrighted by Crystalkeen, Mindconnection, and Chelsea Technologies Ltd.
Go to the format section of the Details. Click the Color Tab. Then click the button next to the Background Color CheckBox
insert this code to Format Formula by value color u wanted:
if RecordNumber mod 2 = 0 then color(224,223,227) else crNoColor
Change the background color of any section in crystal report
Step 1. Right click in the report
Step 2. Select Insert Section.
Step 3. Select "Section" from Insert Section.
Step 4. A new windows Will open.
Step 5. In left panel Select Which Section do u want to change the color.
Step 6. In right section select Color tab and select the color.
Right Click on Field->Hinghting Expert->Add new Change Item Editor
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)