|
Interacting with GridView. Placing SmartDBControl in TabStrip MultiView. EmptyDataTemplate template. Using MonitorParameters property.
Displays all suppliers in a GridView. When the user selects a row its details are
displayed in the "Supplier Details" SmartDBView. The user can edit or delete the
current record or create a new one. If no record is selected or the database table
is empty SmartDBView displays the
EmptyDataTemplate template. The empty data template allows the user to switch the SmartDBView form to Insert mode in order to create
new records.
SmartDataSource.MonitorParameters property is used to monitor when the user selects
a new row in GridView and to automatically trigger data-binding for SmartDBView.
When the user updates the data in SmartDBView an event handler triggers data-binding
for the GridView control
The SmartDBControls in SmartDBView are divided in two tabs - Contact and Address.
The tabs are implemented with the standard ASP.NET controls - MultiView and
View.
|