|
DbNetEdit |
Top Previous Next |
|
The DbNetEdit control is a database aware form control that is designed to make it easy to maintain database records inside a browser.
Example code
The simplest edit control can be created by specifying just the ConnectionString and FromPart properties The ConnectionString property provides the information necessary to connect to the database. The connection string can either be an actual connection string or an alias which is resolved by finding a matching entry in the <connectionStrings> section of the web.config file. For details of specifying connection strings see the database connectivity section. The FromPart property specifies the name of the table against which the form will be applied.
The Columns collection allows you to specify the columns that you require from the table(s) and or view(s) specified in the FromPart property
Specifies a filter to be applied to the selected edit fields.
Used in combination with the FixedFilter parameter to supply parameter values.
Set the height of the edit control where the edit fields are automatically generated.
Set the initial order by which rows are returned.
This property is assigned to a child control and specifies the ID of the parent DbNetGrid or DbNetEdit control
Fixes the height of the search dialog when there are a lot of searchable columns. Search fields will scroll inside dialog
The following properties control the buttons and information displayed in the toolbar
Controls the appearance of the Delete record button in the toolbar
Controls the appearance of the insert new record button in the toolbar
Controls the appearance of the navigation buttons in the toolbar
Controls the appearance of the Page X of Y information in the toolbar
Controls the appearance of the search dialog button in the toolbar
|