SmartDBView is databound container, which displays the values of a single record from a data source. SmartDBView allows you to display, edit, delete and insert records.
For a list of all members of this type, see SmartDBView Members.
System.Object
Control
WebControl
BaseDataBoundControl
DataBoundControl
SmartDBView
SmartDBView should be bound to SmartDataSource control. SmartDataSource provides the needed meta information to the contained SmartDBControl controls.
The SmartDBView control recognizes the following command names. When a button inside SmartDBView is pressed the command name is the value of its property CommandName.
| Command Name | Command Description |
|---|---|
| "Cancel" | Discards the data entered by user and and returns SmartDBView to the mode specified by DefaultMode |
| "Delete" | Starts the delete operation of the current data record. Raises the ItemDeleting and ItemDeleted events. |
| "Edit" | Brings SmartDBView in edit mode. |
| "Insert" | Starts the insert operation with the current data that was entered by user. Raises the ItemInserting and ItemInserted events. |
| "New" | Brings SmartDBView in insert mode. |
| "Clone" | Similar to New command. Allows to create a copy of the currently selected data row. Brings SmartDBView in insert mode. In addition initializes the user interface with data from the currently selected data row. |
| "Update" | Starts the update operation of the current data record. Raises the ItemUpdating and ItemUpdated events. |
Namespace: Adillis.SmartDBForms
Assembly: Adillis.SmartDBForms (in Adillis.SmartDBForms.dll)
SmartDBView Members | Adillis.SmartDBForms Namespace