Click here to Skip to main content
16,012,153 members
Home / Discussions / C#
   

C#

 
AnswerRe: Linq question, error I do not understand Pin
Ravi Bhavnani23-Nov-09 13:49
professionalRavi Bhavnani23-Nov-09 13:49 
GeneralRe: Linq question, error I do not understand Pin
Calvin Bell24-Nov-09 2:49
Calvin Bell24-Nov-09 2:49 
GeneralRe: Linq question, error I do not understand Pin
Ravi Bhavnani24-Nov-09 3:52
professionalRavi Bhavnani24-Nov-09 3:52 
Questioncan TcpClient :: GetStream() be used in separate threads for the same TcpClient ? Pin
abiemann23-Nov-09 12:44
abiemann23-Nov-09 12:44 
AnswerRe: can TcpClient :: GetStream() be used in separate threads for the same TcpClient ? Pin
April Fans24-Nov-09 0:32
April Fans24-Nov-09 0:32 
AnswerRe: can TcpClient :: GetStream() be used in separate threads for the same TcpClient ? Pin
Paulo Zemek24-Nov-09 1:15
Paulo Zemek24-Nov-09 1:15 
GeneralRe: can TcpClient :: GetStream() be used in separate threads for the same TcpClient ? Pin
abiemann30-Nov-09 6:41
abiemann30-Nov-09 6:41 
QuestionWebbrowser control print preview not working for background color Pin
Shukra23-Nov-09 12:04
Shukra23-Nov-09 12:04 
Hi,

In c# i generated HTML report (colored).
I am using Webbrowser control.
I need to print it. But unfortunately i cannot print the color (background color). why?
A sample report is as below.
<html>
<head>
<title>Test</title>

</head>

<body align=center >

<table align=center border=0 width=1000>

<tr>

	<td align=center class=title style='border:2px solid red;'>110P-1 PRODUCTION SCHEDULE</td>

</tr>

</table>

 

<table align=center border=1 width=1000 cellspacing=0 cellpadding=0>

<tr>

	<td colspan=3 align=right>&nbsp; <b>TOTALS:</b> </td>

	<td align=center ><b>22160.00</b></td>

	<td align=center ><b>15828.57</b></td>

	<td align=center ><b>18000.09</b></td>

	<td align=center><b>2971.36</b></td>

	<td align=center><b>33</b></td>

	<td >&nbsp;</td>

</tr>

<tr>

	<td align=center ><b>DEL.DATE</b></td>

	<td align=center ><b>COLOUR</b></td>

	<td align=center><b>ADDRESS</b></td>

	<td align=center ><b>L/M</b></td>

	<td align=center ><b>HOURS@1.4m</b></td>

	<td align=center ><b>COMPLETE</b></td>

	<td align=center ><b>REMAIN HOURS</b></td>

	<td align=center ><b>PACKS</b></td>

	<td align=center ><b>STATUS</b></td>

</td>

<tr><td align=center >&nbsp;20/11/2009</td>
<td align=center style='background-color:#FF8C00;'>&nbsp;</td>
<td align=center >&nbsp;Hamilton Iland</td>
<td align=center >&nbsp;20310.00</td>
<td align=center >&nbsp;14507.14</td>
<td align=center>&nbsp;18000.09</td>
<td align=center >&nbsp;1649.94</td>
<td align=center >&nbsp;33</td>
<td align=center >&nbsp;</td></tr>



<tr><td align=center >&nbsp;16/11/2009</td>
<td align=center style='background-color:#14A0E6;'>&nbsp;</td>
<td align=center >&nbsp;Bankstown</td>
<td align=center >&nbsp;1250.00</td>
<td align=center >&nbsp;892.86</td>
<td align=center >&nbsp;0.00</td>
<td align=center >&nbsp;892.86</td>
<td align=center >&nbsp;</td>
<td align=center >&nbsp;</td></tr>
</tr>
</table>

</body>


---------------------------------- ---------------------
I am using .NET framework 3.5
I have color printer. and if i changed table border to red, blue, etc for border, it prints in color.
It only does not work with table cell (TD) background color.

Thanks in advance
Shukra
AnswerRe: Webbrowser control print preview not working for background color Pin
Dave Kreskowiak23-Nov-09 12:52
mveDave Kreskowiak23-Nov-09 12:52 
AnswerRe: Webbrowser control print preview not working for background color Pin
Ravi Bhavnani23-Nov-09 13:55
professionalRavi Bhavnani23-Nov-09 13:55 
GeneralRe: Webbrowser control print preview not working for background color Pin
Shukra23-Nov-09 17:23
Shukra23-Nov-09 17:23 
AnswerRe: Webbrowser control print preview not working for background color Pin
Ravi Bhavnani23-Nov-09 17:47
professionalRavi Bhavnani23-Nov-09 17:47 
QuestionEmgu CV Vs AForge.NET Vs OpenCVDotNet Pin
Lynndah21223-Nov-09 8:55
Lynndah21223-Nov-09 8:55 
AnswerRe: Emgu CV Vs AForge.NET Vs OpenCVDotNet Pin
Dave Kreskowiak23-Nov-09 10:18
mveDave Kreskowiak23-Nov-09 10:18 
GeneralRe: Emgu CV Vs AForge.NET Vs OpenCVDotNet Pin
Lynndah21223-Nov-09 11:14
Lynndah21223-Nov-09 11:14 
GeneralRe: Emgu CV Vs AForge.NET Vs OpenCVDotNet Pin
Dave Kreskowiak23-Nov-09 12:51
mveDave Kreskowiak23-Nov-09 12:51 
QuestionRead and Write a file at the same time? Pin
Tony496623-Nov-09 4:41
Tony496623-Nov-09 4:41 
AnswerRe: Read and Write a file at the same time? Pin
Eddy Vluggen23-Nov-09 4:44
professionalEddy Vluggen23-Nov-09 4:44 
AnswerRe: Read and Write a file at the same time? Pin
PIEBALDconsult23-Nov-09 5:02
mvePIEBALDconsult23-Nov-09 5:02 
GeneralRe: Read and Write a file at the same time? Pin
Tony496623-Nov-09 5:24
Tony496623-Nov-09 5:24 
GeneralRe: Read and Write a file at the same time? Pin
Ghydo23-Nov-09 6:57
Ghydo23-Nov-09 6:57 
GeneralRe: Read and Write a file at the same time? Pin
dojohansen23-Nov-09 8:02
dojohansen23-Nov-09 8:02 
GeneralRe: Read and Write a file at the same time? [modified] Pin
abiemann23-Nov-09 12:36
abiemann23-Nov-09 12:36 
GeneralRe: Read and Write a file at the same time? Pin
dojohansen23-Nov-09 23:50
dojohansen23-Nov-09 23:50 
AnswerRe: Read and Write a file at the same time? PinPopular
Alan N23-Nov-09 6:57
Alan N23-Nov-09 6:57 

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.