Click or drag to resize

DataSourceImporter Methods

The DataSourceImporter type exposes the following members.

Methods
  NameDescription
Public methodStatic memberFindColumn(ListString, Int32, IEnumerableString)
Public methodStatic memberFindColumn(ListString, Int32, IListString)
Public methodStatic memberFindColumn(ListString, Int32, String)
Public methodStatic memberFindNames
Public methodFindTableNames
Public methodStatic memberGet
Public methodGetColumnNames
Public methodGetColumnNames(String)
Public methodStatic memberGetConnectionStringFromFile(String)
Public methodStatic memberGetConnectionStringFromFile(String, Boolean)
Public methodGetDataRows
Public methodGetDataRows(String, Boolean)
Public methodGetDataTable
Public methodGetDataTable(String)
Public methodGetTableNames
Public methodStatic memberGetTableNames(String, Boolean)
Public methodStatic memberReadDataTable
Read a spreadsheet file straight into a datatable: http://windowsclient.net/blogs/faqs/archive/2006/05/30/how-do-i-load-a-csv-file-into-a-datatable.aspx Connection strings: http://www.connectionstrings.com/ Where sourceString is an Excel file the table name is first checked against any defined names in the workbook and if there is no defined name then the worksheet matching the tableName is used. Finally the first worksheet is used if there is no other match.
Public methodStatic memberCode exampleReadDataTableFromTextFile
Read table data from a file (.txt,.csv,.xls,.xlsx,etc.).
Public methodToString (Overrides ObjectToString.)
Top
See Also