'Declaration
Public Overloads Shared Function ReadDbf( _ ByVal dbfFileName As System.String, _ ByVal readColumnsOnly As System.Boolean, _ ByVal trimStrings As System.Boolean, _ ByVal encoding As System.Text.Encoding _ ) As System.Data.DataTable
'Usage
Dim dbfFileName As System.String Dim readColumnsOnly As System.Boolean Dim trimStrings As System.Boolean Dim encoding As System.Text.Encoding Dim value As System.Data.DataTable value = NDbfReader.ReadDbf(dbfFileName, readColumnsOnly, trimStrings, encoding)
public static System.Data.DataTable ReadDbf( System.string dbfFileName, System.bool readColumnsOnly, System.bool trimStrings, System.Text.Encoding encoding )
Parameters
- dbfFileName
- The name of the DBF file.
- readColumnsOnly
- If true only the columns will be read and the data table will be empty (i.e. it will contain 0 rows.
- trimStrings
- Determines wheter to trim the strings.
- encoding
- Character encoding.