RDTA.PickDP.WebExtensions.DBDataBinder Control

Binds the fields in a table to the controls in a form using the ControlBinder method.

Public Constructors

New

Constructor.

Public Methods

Clear

Clears the data of all the controls. Does not clear the data from the file.

DeleteItem

Deletes the current item.

Fill

Reads the record from the database and populates the bound controls. The record read is identified by the control bound to the primary key field.

GetControlBinderCausingErrror

Gets the ControlBinder of the first empty mandatory control.

GetCurrentItem

Gets a reference to the most recently read item from the table for manipulation prior to writing.

getKeyControl

Gets the column and the grid that contains the primary key used to fill the grid.

MemberwiseClone

Returns a copy of the current instance. For internal use only.

setKeyControl

Sets the column and the grid that contains the primary key used to fill the grid.

Update

Collects all the data contained in the form control and updates the table.

Public Properties

Name

Type

Description

ControlBindings

ControlBinder

An array of bound controls and fields.

Table

Table

A reference to a table control.

 

5