Knight Data Access Layer
AddColumn Method (DataHelper)




KellermanSoftware.NetDataAccessLayer Namespace > DataHelper Class : AddColumn Method
The table.
The field.
Adds the column to the passed in table
Syntax
Public Sub AddColumn( _
   ByVal table As Table, _
   ByVal field As Field _
) 
Dim instance As DataHelper
Dim table As Table
Dim field As Field
 
instance.AddColumn(table, field)
public void AddColumn( 
   Table table,
   Field field
)
public: void AddColumn( 
   Table* table,
   Field* field
) 
public:
void AddColumn( 
   Table^ table,
   Field^ field
) 

Parameters

table
The table.
field
The field.
Exceptions
ExceptionDescription
table or field
table.TableName cannot be null or empty;table or field.ColumnName cannot be null or empty;field
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

DataHelper Class
DataHelper Members