Click here to Skip to main content
15,905,073 members
Home / Discussions / C#
   

C#

 
GeneralRe: How to work with Shortcut & Keyboard Pin
Laji5923-Sep-08 23:25
Laji5923-Sep-08 23:25 
GeneralRe: How to work with Shortcut & Keyboard Pin
Blue_Boy24-Sep-08 1:44
Blue_Boy24-Sep-08 1:44 
Question[Message Deleted] Pin
arkiboys23-Sep-08 21:50
arkiboys23-Sep-08 21:50 
AnswerDouble Post - Please ignore Pin
Giorgi Dalakishvili23-Sep-08 22:00
mentorGiorgi Dalakishvili23-Sep-08 22:00 
General[Message Deleted] Pin
arkiboys23-Sep-08 22:16
arkiboys23-Sep-08 22:16 
GeneralRe: Double Post - Please ignore Pin
#realJSOP23-Sep-08 23:35
professional#realJSOP23-Sep-08 23:35 
QuestionAvoid MessageBox Window using System.Diagnostics.Process Pin
M Riaz Bashir23-Sep-08 21:14
M Riaz Bashir23-Sep-08 21:14 
AnswerRe: Avoid MessageBox Window using System.Diagnostics.Process Pin
Giorgi Dalakishvili23-Sep-08 21:31
mentorGiorgi Dalakishvili23-Sep-08 21:31 
AnswerRe: Avoid MessageBox Window using System.Diagnostics.Process Pin
#realJSOP23-Sep-08 23:38
professional#realJSOP23-Sep-08 23:38 
Questionhow to write prime numbers programe in C# 2005 Pin
vidhish23-Sep-08 20:44
vidhish23-Sep-08 20:44 
AnswerRe: how to write prime numbers programe in C# 2005 Pin
Tamer Oz23-Sep-08 21:33
Tamer Oz23-Sep-08 21:33 
GeneralRe: how to write prime numbers programe in C# 2005 Pin
leppie23-Sep-08 21:37
leppie23-Sep-08 21:37 
GeneralRe: how to write prime numbers programe in C# 2005 Pin
Tamer Oz23-Sep-08 21:52
Tamer Oz23-Sep-08 21:52 
QuestionRe: how to write prime numbers programe in C# 2005 Pin
Hana SaM7-Oct-08 23:04
Hana SaM7-Oct-08 23:04 
AnswerRe: how to write prime numbers programe in C# 2005 Pin
leppie23-Sep-08 21:34
leppie23-Sep-08 21:34 
AnswerRe: how to write prime numbers programe in C# 2005 Pin
#realJSOP23-Sep-08 23:42
professional#realJSOP23-Sep-08 23:42 
AnswerRe: how to write prime numbers programe in C# 2005 Pin
RugbyLeague24-Sep-08 0:50
RugbyLeague24-Sep-08 0:50 
AnswerRe: how to write prime numbers programe in C# 2005 Pin
darkelv24-Sep-08 1:50
darkelv24-Sep-08 1:50 
GeneralRe: how to write prime numbers programe in C# 2005 Pin
#realJSOP24-Sep-08 9:40
professional#realJSOP24-Sep-08 9:40 
Questioncan anybody tell me that how can i save my all application's work. mean that how can i save the images,circles,rectangle,lines or etl together.. Pin
maifs23-Sep-08 20:32
maifs23-Sep-08 20:32 
AnswerRe: can anybody tell me that how can i save my all application's work. mean that how can i save the images,circles,rectangle,lines or etl together.. Pin
Mark Salsbery24-Sep-08 8:37
Mark Salsbery24-Sep-08 8:37 
QuestionHeaders and Footers in Office 2007 object model Pin
Viram23-Sep-08 20:20
Viram23-Sep-08 20:20 
QuestionExport as PDF file from C# page Pin
r aa j23-Sep-08 20:09
r aa j23-Sep-08 20:09 
hi all,
I want export the pdf file.and I am using following code.In my system .But an error is displaying like adobe readercould not open 'down.pdf' because it is either not a supported file type or because the file has been damaged...



DataSet Ds = FillGrid2(sessionvalue, cid, cmid, crid, pid, sdate, edate);

Response.Clear();
Response.AppendHeader("Content-Type", "application/pdf");
Response.AppendHeader("Content-disposition", "attachment; filename=Download.pdf");
string str = "<table style='border:1px solid #000000;'>";
str += "<tr>";
str += "<td colspan='5'>" + "<b>Client: </b>" + client + "</td>";
str += "</tr>";
str += "<tr>";
str += "<td colspan='5'>" + "<b>Campaign: </b>" + campaign + "</td>";
str += "</tr>";
str += "<tr>";
str += "<td colspan='5'>" + "<b>Report Summary</b>" + "</td>";
str += "</tr>";
str += "<tr>";
str += "<td>" + "Type" + "</td>";
str += "<td>" + "Impression" + "</td>";
str += "<td>" + "Clicks" + "</td>";
str += "<td>" + "Start Date" + "</td>";
str += "<td>" + "End Date" + "</td>";
str += "</tr>";

for (int i = 0; i < Ds.Tables[0].Rows.Count; i++)
{
str += "<tr style='border:1px solid #000000;'>";
for (int j = 0; j < Ds.Tables[0].Columns.Count; j++)
{
str += "<td>" + Ds.Tables[0].Rows[i][j].ToString() + "</td>";
}
str += "</tr>";
}
str += "</table>";


Response.Write(str);

If anybody knows please reply me..

thanks...

Raaj

Generalcreate family tree with C# visual basic 2005 Pin
jielun23-Sep-08 19:54
jielun23-Sep-08 19:54 
GeneralRe: create family tree with C# visual basic 2005 Pin
John_Adams23-Sep-08 21:43
John_Adams23-Sep-08 21:43 

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.