Class DBFExport
Exports a DataTable to a dBASE IV (.DBF) file via an OLE DB connection,
creating the table and inserting rows while reporting progress and supporting cancellation.
Assembly: Reportman.Drawing.dll
Syntax
Constructors
View Source
DBFExport()
Declaration
Methods
View Source
CreateConnection(string)
Declaration
public static DbConnection CreateConnection(string folder)
Parameters
| Type |
Name |
Description |
| string |
folder |
|
Returns
View Source
SaveToFile(DataTable, string, DataProgressEvent)
Declaration
public static void SaveToFile(DataTable ntable, string filename, DataProgressEvent eventprogress)
Parameters
View Source
SaveToFile(DataTable, string, DbConnection)
Declaration
public static void SaveToFile(DataTable ntable, string filename, DbConnection connection)
Parameters
View Source
SaveToFile(DataTable, string, DbConnection, int)
Declaration
public static void SaveToFile(DataTable ntable, string filename, DbConnection connection, int level)
Parameters
View Source
SaveToFile(DataTable, string, DbConnection, int, DataProgressEvent)
Declaration
public static void SaveToFile(DataTable ntable, string filename, DbConnection connection, int level, DataProgressEvent eventprogress)
Parameters
View Source
TypeToDBFDbType(Type, int)
Declaration
public static DbType TypeToDBFDbType(Type valor, int level)
Parameters
| Type |
Name |
Description |
| Type |
valor |
|
| int |
level |
|
Returns
View Source
TypeToDBFSqlType(Type, int)
Declaration
public static string TypeToDBFSqlType(Type ntype, int length)
Parameters
| Type |
Name |
Description |
| Type |
ntype |
|
| int |
length |
|
Returns