Click here to Skip to main content
15,887,596 members
Home / Discussions / C#
   

C#

 
GeneralRe: MATLAB Builder NE deployment problem Pin
shwetanisha29-Aug-13 22:25
shwetanisha29-Aug-13 22:25 
QuestionWindows Services using C# and SQL data Pin
Member 1023886728-Aug-13 20:07
Member 1023886728-Aug-13 20:07 
AnswerRe: Windows Services using C# and SQL data Pin
OriginalGriff28-Aug-13 21:13
mveOriginalGriff28-Aug-13 21:13 
GeneralRe: Windows Services using C# and SQL data Pin
Member 1023886728-Aug-13 21:43
Member 1023886728-Aug-13 21:43 
GeneralRe: Windows Services using C# and SQL data Pin
OriginalGriff28-Aug-13 22:00
mveOriginalGriff28-Aug-13 22:00 
AnswerRe: Windows Services using C# and SQL data Pin
Bernhard Hiller28-Aug-13 21:17
Bernhard Hiller28-Aug-13 21:17 
GeneralRe: Windows Services using C# and SQL data Pin
Member 1023886728-Aug-13 21:46
Member 1023886728-Aug-13 21:46 
QuestionDataGridView Printing Pin
Tsukasa8328-Aug-13 7:33
Tsukasa8328-Aug-13 7:33 
I'm using the following solution as my DataGridView Printer

Printing a DataGridView on DotNet Framework[^]

I'm attempting to modify it with no current luck.
When I print out my results the cell's BackColor always seems to be grey when the cell's in my DataGridView are a combination of different colors. These aren't set per row or per column, they are per cell.

I'm looking at GridDrawer.cs and i'm guessing this is because of the Method DrawRows and the line

C#
g.FillRectangle(new SolidBrush(row.BackColor()), RowBounds);


I changed it and verified that it does change the row's back color.

How can I modify this so that each cell's BackColor represents the correct color from the DataGridView?

Or if there is another solution that already does this per cell not per row formatting that would be great also.

Thanks
AnswerRe: DataGridView Printing Pin
OriginalGriff28-Aug-13 21:15
mveOriginalGriff28-Aug-13 21:15 
QuestionRead XML string, Manipulate, Store in Dataset & SqlBulkCopy Pin
murugesan.ks28-Aug-13 7:32
murugesan.ks28-Aug-13 7:32 
AnswerRe: Read XML string, Manipulate, Store in Dataset & SqlBulkCopy Pin
SledgeHammer0128-Aug-13 9:26
SledgeHammer0128-Aug-13 9:26 
QuestionConverting MS-office files to PDF Pin
sujeet32128-Aug-13 0:48
sujeet32128-Aug-13 0:48 
AnswerRe: Converting MS-office files to PDF Pin
Simon_Whale28-Aug-13 0:54
Simon_Whale28-Aug-13 0:54 
Questionapprove file Pin
Diya Ayesa28-Aug-13 0:10
Diya Ayesa28-Aug-13 0:10 
AnswerRe: approve file Pin
Eddy Vluggen28-Aug-13 2:07
professionalEddy Vluggen28-Aug-13 2:07 
GeneralRe: approve file Pin
Forbiddenx28-Aug-13 6:42
Forbiddenx28-Aug-13 6:42 
QuestionInformation about JPEG Header Pin
Discover.ir27-Aug-13 23:40
Discover.ir27-Aug-13 23:40 
AnswerRe: Information about JPEG Header Pin
Amarnath S28-Aug-13 0:22
professionalAmarnath S28-Aug-13 0:22 
GeneralRe: Information about JPEG Header Pin
Discover.ir28-Aug-13 1:35
Discover.ir28-Aug-13 1:35 
AnswerRe: Information about JPEG Header Pin
Dave Kreskowiak28-Aug-13 2:17
mveDave Kreskowiak28-Aug-13 2:17 
GeneralRe: Information about JPEG Header Pin
Discover.ir28-Aug-13 2:27
Discover.ir28-Aug-13 2:27 
GeneralRe: Information about JPEG Header Pin
Dave Kreskowiak28-Aug-13 3:20
mveDave Kreskowiak28-Aug-13 3:20 
Questionreading from a dynamically created textarea Pin
Hbr_Tha_real27-Aug-13 4:27
Hbr_Tha_real27-Aug-13 4:27 
AnswerRe: reading from a dynamically created textarea Pin
Jason Gleim27-Aug-13 4:59
professionalJason Gleim27-Aug-13 4:59 
GeneralRe: reading from a dynamically created textarea Pin
Hbr_Tha_real28-Aug-13 1:53
Hbr_Tha_real28-Aug-13 1:53 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.