Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
How can I change backcolor/backimage of crystal report in C#.NET VS2008?
Posted 4-Feb-10 18:37pm
sharmarun1.6K
Edited 8-May-10 21:48pm
v3
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

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.
 
1.
 
Create a second section and move it the above the original section.
2.
 
Set this new section to “Underlay”
3.
 
Make the section slightly larger than the subsequent section
4.
 
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.
  Permalink  
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 2

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
  Permalink  
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 4

Right Click on Field->Hinghting Expert->Add new Change Item Editor
  Permalink  
Comments
Nelek at 28-Sep-13 5:43am
   
Do you realize that the question is over 3 years old and it was already solved?
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 3

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.
  Permalink  

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

  Print Answers RSS
0 OriginalGriff 383
1 Richard Deeming 180
2 ChauhanAjay 176
3 Sergey Alexandrovich Kryukov 171
4 Yogesh Kumar Tyagi 165
0 Sergey Alexandrovich Kryukov 6,252
1 OriginalGriff 5,498
2 CPallini 2,473
3 Richard MacCutchan 1,627
4 Abhinav S 1,530


Advertise | Privacy | Mobile
Web03 | 2.8.140821.2 | Last Updated 28 Sep 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