Then convert the CSV file data to DataTable using the system assemblies. In the sample, we are converting the PDF tables into (.csv) file and store it in the Data folder of the sample. split each row with comma to get the individual valuesįor (int j = 0 j < rowValues.Count() j++)įor (int k = 0 k < rowValues.Count() k++)Ī complete working sample can be downloaded from PdfSample.zip. Using (StreamReader sr = new StreamReader(strFilePath))įor (int i = 0 i < rows.Count() - 1 i++) If you’ve made changes to the PDF file in Google Docs and now want to convert it back to a PDF file, follow these steps: Open the doc file in Google Drive and click on the File tab. At the top of the file, click on Open With. Public static DataTable ConvertCSVtoDataTable(string strFilePath) Double-click to open the PDF file attached to your mail.
0 Comments
Leave a Reply. |