FormDataConverter

FormDataConverter class

Represents a class to convert data from one format to another format.
It can convert the data in fdf/xml/pdf/xfdf to the OLEDB/OdbcDB.
It also can convert the data in the OLEDB/OdbcDB to the data in fdf/xml/xfdf.
It can convert the fdf to the xml with “hard-named” tag.

The FormDataConverter type exposes the following members:

Constructors

NameDescription
FormDataConverter()Initializes a new instance of the FormDataConverter class

Properties

NameDescription
create_missing_fieldConvertToDataTable will create required field if it does not exists in Table.
replace_existing_tableImportIntoDatabase will drop existing table and create new table if this property set to true.
clear_table_before_exportExportFromData will clear table before data export.
create_missing_tableImportIntoDatabase will create table if it does not exists.

Methods

NameDescription
convert_xml_to_fdf(source_xml, dest_fdf)Convert XML import/export form data file into FDF format.
convert_fdf_to_xml(source_fdf, dest_xml)Convert FDF file into XML.
convert_to_data_table(source_streams, source_type)Convert files of strems into table.
import_into_data_base(connect_string, db_type)Imports data from table into database.
export_from_data_base(connect_string, db_type)Exports data from database into table.
convert_to_streams(dest_stream, dest_type)Convert data in table into streams.
conver_to_streams(dest_stream, dest_type)This method is obsolete. Please use ConvertToStreams() instead.

See Also