Retrieves table columns information from the table specified in the TableName property and populates columns collection.
Overrides Public Sub CreateColumns()
public override void CreateColumns();
CreateColumns retrieves all columns from the table. It means that when inserting the data, SQL INSERT statement is generated for all of the columns, regardless of how many you have assigned with SetValue method. The columns you have omitted are considered to be of NULL value. If you want to generate the statements for chosen columns only, you have to manually edit the collection.
© 2002 - 2013 Devart. All Rights Reserved.