- Upvotes Received
- 1
- Posts with Upvotes
- 1
- Upvoting Members
- 1
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
5 Posted Topics
You can use below code: 'connect with database Dim connection As New OleDbConnection() connection.ConnectionString = "Provider=""Microsoft.Jet.OLEDB.4.0"";Data Source=""demo.mdb"";User Id=;Password=" Dim command As New OleDbCommand() command.CommandText = "select * from parts" Dim dataSet As DataSet = New System.Data.DataSet() Dim dataAdapter As New OleDbDataAdapter(command.CommandText, connection) dataAdapter.Fill(dataSet) Dim dt As DataTable = dataSet.Tables(0) Me.dataGridView1.DataSource …
I think this article may help you much, if you have little data, you can use this free data export library: http://exportdata.codeplex.com/. See details in this article about how to read csv from listview: [Export data from Listview to CSV](http://www.e-iceblue.com/Knowledgebase/Spire.DataExport/Program-Guide/Export-data-from-Listview-to-CSV.html)
Crystal report itsel can export to pdf and excel, but you have to install Office interop. Here I introduce you a data export component that can export data to PDF, excel, word, html, xml etc without using any third party library. http://www.e-iceblue.com/Introduce/data-export-for-net-intro.html. you can see below code: protected void exportReport(CrystalDecisions.CrystalReports.Engine.ReportClass …
I think below article may help you much,it uses a third library which can export data from databse, command, listview to excel ,word, pdf,html, xml, ms access, csv etc. [Export Data from Listview to Excel with C#](http://www.e-iceblue.com/Knowledgebase/Spire.DataExport/Program-Guide/Export-Data-from-Listview-to-Excel-with-C-/VB.NET.html) When you applycing the code in this article, after adding Spire.DataExport dll please …
Hello, i know a [PDF viewer component](http://www.e-iceblue.com/Introduce/pdf-viewer.html) can extract pdf image and text, also it can extract PDF attachments, you can give it a try, it may solve your problem. see code below: PdfDocumentAttachment[] attchments = this.pdfDocumentViewer1.GetAttachments(); PdfDocumentAttachmentAnnotation[] annotations = this.pdfDocumentViewer1.GetAttachmentAnnotaions();
The End.
Ajusha