The table control represents a single table in a database. This control enumerates all connection controls on the local web (.aspx) and the global.asax form, allowing you to create non-persistent applications. The table control displays a list of all local and global connection controls found in the active project. Note that the code for the local connection requires that you open and close connections and tables before accessing data. For example:
Connection1.open()
Table1.open()
DbDataBinder1.Fill()
Table1.close()
Connection1.close()
|
Constructor. |
|
Closes the table. | |
|
Deletes an item from the table. | |
|
Fills the specified combo boxes associated with this table. | |
|
Fills the specified list boxes associated with this table. | |
|
Gets the connection Object to access to the database. | |
|
Gets the connDatabase Object that is accessed by the table. | |
|
Gets an item from the table. | |
|
Gets the read status of the item being read. | |
|
Returns the connTable representing this table. | |
|
Returns the connection status. | |
|
Returns the locking status of the item being read. | |
|
Returns whether the table is open or closed. | |
|
Returns a copy of the current instance. For internal use only. | |
|
Opens the table. The table name to open is indicated by the TableName property. | |
|
Releases locks of all items for the current table. | |
|
Releases the lock for the current item. | |
|
Sets the connection Object of the table. | |
|
Sets the connTable Object. Provides the ability to change data source (connTable) at runtime. | |
|
Writes an item to the table. |
|
Name |
Type |
Description |
|
RDTA.PickDP.WebExtensions.connection |
Gets or sets the connection. | |
|
String |
Gets or sets the connection name. | |
|
Boolean |
When creating a global.asax application, you can add a connection control to the global.asax form or any webform.aspx form. This property:
| |
|
String |
Gets or sets the lock type. | |
|
String |
Gets or sets the subtable name (data section). | |
|
String |
Gets or sets the table name. |
|
Name |
Type |
Description |
|
Event |
Event triggered after a delete. | |
|
Event |
Event triggered after an open. | |
|
Event |
Event triggered after a read. | |
|
Event |
Event triggered after a write. | |
|
Event |
Event triggered before a delete. | |
|
Event |
Event triggered before an open. | |
|
Event |
Event triggered before a read. | |
|
Event |
Event triggered before a write | |
|
Event |
Event triggered when attempting to read, write, or delete a locked record. | |
|
Event |
Event triggered when attempting to read a record that does not exist. |