Click here to Skip to main content
15,888,301 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: Bulk insert from dataset into db? Pin
ganeshMohan11-Feb-10 20:36
ganeshMohan11-Feb-10 20:36 
GeneralRe: Bulk insert from dataset into db? Pin
thatraja11-Feb-10 20:50
professionalthatraja11-Feb-10 20:50 
AnswerRe: Bulk insert from dataset into db? Pin
Abhishek Sur11-Feb-10 20:46
professionalAbhishek Sur11-Feb-10 20:46 
AnswerRe: Bulk insert from dataset into db? Pin
T M Gray12-Feb-10 4:11
T M Gray12-Feb-10 4:11 
AnswerRe: Bulk insert from dataset into db? Pin
beginner in C#.net12-Apr-11 4:11
beginner in C#.net12-Apr-11 4:11 
QuestionNeed to contact code project member. Pin
Hema Bairavan11-Feb-10 20:12
Hema Bairavan11-Feb-10 20:12 
AnswerRe: Need to contact code project member. Pin
i gr811-Feb-10 21:51
i gr811-Feb-10 21:51 
GeneralRe: Need to contact code project member. Pin
Hema Bairavan12-Feb-10 0:20
Hema Bairavan12-Feb-10 0:20 
hi guys i came with solution regarding...

get the PdfSharp.dll from website and then include in yours
the do the following..
it will work like gun...

using PdfSharp.Pdf;
using PdfSharp.Pdf.IO;



Stream[] ChildStream = new Stream[ReportDoc.Length];
Stream OutStream = new MemoryStream();
PdfDocument[] PdfChildDoc = new PdfDocument[ReportDoc.Length];
PdfDocument OutPutPage = new PdfDocument();


for (int i = 0; i < ReportDoc.Length; i++)
{
ChildStream[i] = (Stream)ReportDoc[i].ExportToStream(CrystalDecisions.Shared.ExportFormatType.PortableDocFormat);
PdfChildDoc[i] = PdfReader.Open(ChildStream[i], PdfDocumentOpenMode.Import);
}

for (int i = 0; i < PdfChildDoc.Length; i++)
{
int count = PdfChildDoc[i].PageCount;
for (int idx = 0; idx < count; idx++)
{
// Get the page from the external document...
PdfPage page = PdfChildDoc[i].Pages[idx];
// ...and add it to the output document.
OutPutPage.AddPage(page);
}
}



OutPutPage.Save(OutStream, false);
//byte[] b = new byte[OutStream.Length];
//OutStream.Read(b, 0, b.Length);

Response.Buffer = true;
Response.ContentType = "application/pdf";
Response.BinaryWrite(((MemoryStream)OutStream).ToArray());
Questionrun time error Pin
prateekfgiet11-Feb-10 18:16
prateekfgiet11-Feb-10 18:16 
AnswerRe: run time error Pin
i gr811-Feb-10 20:01
i gr811-Feb-10 20:01 
QuestionOut of Placed things in server [solved] Pin
Mehdi Ghiasi11-Feb-10 9:27
Mehdi Ghiasi11-Feb-10 9:27 
AnswerRe: Out of Placed things in server Pin
Abhishek Sur11-Feb-10 11:43
professionalAbhishek Sur11-Feb-10 11:43 
GeneralRe: Out of Placed things in server Pin
Anurag Gandhi11-Feb-10 17:55
professionalAnurag Gandhi11-Feb-10 17:55 
QuestionEntityDatasource Pin
Sider8911-Feb-10 8:45
Sider8911-Feb-10 8:45 
AnswerRe: EntityDatasource Pin
Not Active11-Feb-10 9:20
mentorNot Active11-Feb-10 9:20 
GeneralRe: EntityDatasource Pin
Sider8911-Feb-10 9:48
Sider8911-Feb-10 9:48 
Questionhow to display image from database Pin
netJP12L11-Feb-10 7:18
netJP12L11-Feb-10 7:18 
AnswerRe: how to display image from database Pin
Not Active11-Feb-10 8:16
mentorNot Active11-Feb-10 8:16 
GeneralRe: how to display image from database Pin
netJP12L11-Feb-10 10:46
netJP12L11-Feb-10 10:46 
AnswerRe: how to display image from database Pin
T M Gray11-Feb-10 10:46
T M Gray11-Feb-10 10:46 
QuestionColor parameter in query string ? Pin
paper6711-Feb-10 6:01
paper6711-Feb-10 6:01 
AnswerRe: Color parameter in query string ? Pin
Steve Wellens11-Feb-10 7:36
Steve Wellens11-Feb-10 7:36 
AnswerRe: Color parameter in query string ? Pin
Abhishek Sur11-Feb-10 11:46
professionalAbhishek Sur11-Feb-10 11:46 
Questionreportviewer Pin
arkiboys11-Feb-10 3:43
arkiboys11-Feb-10 3:43 
AnswerRe: reportviewer Pin
Pranay Rana11-Feb-10 19:01
professionalPranay Rana11-Feb-10 19:01 

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.