Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
875
Print PDF from DataSet in win forms
posted

Hi,

I am trying to prinf a PDF report using Infragistics but I cant find  Infragistics.Documents.Report.Section dll. I knew that we need to use two dll for this purpose (In win forms c#)

first -Infragistics.Win.UltraWinGrid.DocumentExport and another -Infragistics.Documents.Report.Section;

But in my library folder second dll is not present. I am using version 8.1 and I dont want to upgrade the version. Code which I will be using for that purpose is writter below:

public static bool ExportGrid()

{

// Create a new report

Report report =

new Report();

// Export the grid into the report. This will automatically create a new

// section in the report.

ISection section =

this.ultraGridDocumentExporter1.Export(this.ultraGrid1, report);

// Publish the report.

report.Publish(

"grid.pdf", FileFormat.PDF);

}

Please let me know how can I get the dll and generate pdf using dataset/datatable.

Thanks in Advance.

Regrads,

Vivek Mahawar