EasyDotNet - DataForm.NET V3.4 Developer Guide
eDataForm Members

The following lists ignore members of System.Web.UI.WebControls.Table class and only list eDataForm class's properties, methods and events.

Public Properties

ButtonPosition Gets or sets the position of embeded buttons.
ButtonType Gets or set the type of embeded buttons.
CancelCreateNewForm Gets or sets a value indicating whether a new form is going to be initialized when embeded New button is clicked.
CancelDelete Gets or sets a value indicating whether current record is to be deleted when embeded Delete button is clicked.
CancelInsert Gets or sets a value indicating whether current record is to be inserted to database when embeded Insert button is clicked.
CancelQuery Gets or sets a value indicating whether querying databse shall proceed when embeded Query button is clicked.
CancelUpdate Gets or sets a value indicating whether current record is to be updated when embeded Update button is clicked.
CustomDataSource Gets or sets CustomDataSource.
DataFormID Gets or sets the DataForm's id created in DataForm.NET Manager.
DataKeyField Gets all key fields of DataForm.
DBDataSource Gets a whole row record that is queried out of database.
Exception

Gets the Exception object if there is an error during the data operation.

FieldsPerRow Gets or sets the number of fields per row.
HasError Gets or sets a value indicating whether there is an error after the embeded button is clicked.
IsValid Gets a value indicating whether DataForm validation succeeded.
ItemReadOnly Gets or sets a value indicating whether the contents of the control can be changed.
ItemValue

Gets or sets the value of an individual control on the DataForm directly by field's ID.

Message Gets or sets the embeded message.
MessageToolTip Gets or sets the embeded message's tooltip.
RowsAffected Gets the number of rows which were affected after updating or deleting operation.
ShowAddButton Gets or set a value indicating whether the Add button is visible.
ShowCancelButton Gets or set a value indicating whether the Cancel button is visible.
ShowDeleteButton Gets or set a value indicating whether the Delete button is visible.
ShowMessage Gets or set a value indicating whether the message is visible.
ShowNewButton Gets or set a value indicating whether the New button is visible.
ShowQueryButton Gets or set a value indicating whether the Query button is visible.
ShowUpdateButton Gets or set a value indicating whether the Update button is visible.
TableName Gets the table name that DataForm maps to.
Validators Gets a collection of all validation controls contained on the DataForm.

Public Methods

CreateNewForm Create a new DataForm and reset all fields' value to their default value.
DeleteRecord Delete a record that is displaying on the DataForm.
InsertRecord Insert a record that is displaying on the DataForm into database.
QueryDB Query data from database and fill out DataForm.
UpdateRecord Update a record that is displaying on the DataForm.
Validate

Instructs any validation controls included on the DataForm to validate their assigned information.

Public Events

AfterCancel Occurs after associated Cancel button is clicked.
AfterCreateNewForm Occurs after initializing a new DataForm when the associated New button clicked is clicked.
AfterDelete Occurs after current record has been deleted and a new DataForm has been initialized when the associated Delete button is clicked.
AfterInsert Occurs after new record has been inserted to database when the associated Insert button is clicked.
AfterQuery Occurs after querying a record out of database accroding to the key values when the associated Query button is clicked.
AfterUpdate Occurs after current record has been updated when the associated Update button is clicked.
BeforeCancel Occurs before the customized actions are performed on the DataForm when the the associated cancel button is clicked.
BeforeCreateNewForm Occurs before a new form is to be initialized when the associated New button is clicked.
BeforeDelete

Occurs before current record is to be deleted and Dataform is to be initialized when the associated Delete button is clicked.

BeforeInsert Occurs before current record is to be inserted to database when the associated Insert button is clicked.
BeforeQuery Occurs before querying database when the associated Query button is clicked.
BeforeUpdate Occurs before current record is to be updated when the associated Update button is clicked .
PostBack Occurs when an individual control on the DataForm causes a postback.
See also
Syntax based on .NET Framework version 1.1/2.0.