smartDBforms.NET API Reference

SmartDBView Class

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

[Visual Basic]
Public Class SmartDBView
    Inherits DataBoundControl
    Implements INamingContainer
[C#]
public class SmartDBView : DataBoundControl, INamingContainer

Remarks

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.
"Update" Starts the update operation of the current data record. Raises the ItemUpdating and ItemUpdated events.

Requirements

Namespace: Adillis.SmartDBForms

Assembly: Adillis.SmartDBForms (in Adillis.SmartDBForms.dll)

See Also

SmartDBView Members | Adillis.SmartDBForms Namespace