The C1WebExpressConnection type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| C1WebExpressConnection |
Initializes a new instance of the C1WebExpressConnection class.
|
Methods
| Name | Description | |
|---|---|---|
| AcceptChanges |
Commits all changes made to the data set since it was filled with
data or the last time AcceptChanges or RejectChanges()()()() was called.
| |
| AddedControl | (Inherited from Control.) | |
| CreateChildControls |
Called by the ASP.NET page framework to notify server controls that use composition-based implementation to create any child controls they contain in preparation for posting back or rendering.
(Inherited from Control.) | |
| Fill |
Fills the tables attached to the connection with data fetching it from the database.
| |
| GetExportDataSet | Overloaded. | |
| GetView |
Gets the named data source view associated with the data source control.
(Inherited from DataSourceControl.) | |
| GetViewNames |
Gets a collection of names, representing the list of DataSourceView objects associated with the DataSourceControl control.
(Inherited from DataSourceControl.) | |
| HasChanges | Overloaded. | |
| LoadControlState |
Restores control-state information from a previous page request that was saved by the SaveControlState()()()() method.
(Inherited from Control.) | |
| MapPathSecure |
Retrieves the physical path that a virtual path, either absolute or relative, maps to.
(Inherited from Control.) | |
| OnInit |
Raises the Init event.
(Inherited from Control.) | |
| OnLoad |
Raises the Load event.
(Inherited from Control.) | |
| OnPreRender |
Raises the PreRender event.
(Inherited from Control.) | |
| OnUnload |
Raises the Unload event.
(Inherited from Control.) | |
| OpenFile |
Gets a Stream used to read a file.
(Inherited from Control.) | |
| PopExecutionMode |
Restores the execution mode affecting actions invoked while handling another action.
| |
| PushExecutionMode |
Sets the execution mode affecting actions invoked while handling
another action.
| |
| ReadXml | Overloaded. | |
| RejectChanges |
Rolls back all changes made to the data set since it was filled with
data or the last time AcceptChanges()()()() or RejectChanges was called.
| |
| RemovedControl | (Inherited from Control.) | |
| Render |
Sends server control content to a provided HtmlTextWriter object, which writes the content to be rendered on the client.
(Inherited from Control.) | |
| RenderChildren |
Outputs the content of a server control's children to a provided HtmlTextWriter object, which writes the content to be rendered on the client.
(Inherited from Control.) | |
| SaveControlState |
Saves any server control state changes that have occurred since the time the page was posted back to the server.
(Inherited from Control.) | |
| Update |
Updates (commits) all changed data set rows to the database.
| |
| WriteXml | Overloaded. |
Properties
| Name | Description | |
|---|---|---|
| Adapter |
Gets the browser-specific adapter for the control.
(Inherited from Control.) | |
| AlwaysEscapeNames |
Gets or sets a value indicating whether every table and column name must be quoted
to avoid collision with reserved keywords.
| |
| AppRelativeTemplateSourceDirectory |
Gets or sets the application-relative virtual directory of the Page or UserControl object that contains this control.
(Inherited from Control.) | |
| CacheProperties |
Gets the CacheProperties object containing cache settings.
| |
| CaseSensitive |
Determines whether string comparisons are case-sensitive.
| |
| ChangeInProgress |
Gets or sets a value indicating whether firing AfterChanges event is deferred.
| |
| ClientID |
Gets the server control identifier generated by ASP.NET.
(Inherited from Control.) | |
| Connection |
Returns database connection object at run time.
| |
| ConnectionString |
Gets or sets the connection string used to connect to the database.
| |
| ConnectionTimeout |
Gets the time to wait while trying to establish a connection before terminating the attempt and generating an error.
| |
| ConnectionType |
Gets or sets the type of database connection, either via OLE DB or using one of the native database access options.
| |
| Context |
Gets the HttpContext object associated with the server control for the current Web request.
(Inherited from Control.) | |
| Controls |
Gets a ControlCollection object that represents the child controls for a specified server control in the UI hierarchy.
(Inherited from Control.) | |
| Database |
Gets the name of the current database or the database to be used once a connection is open.
| |
| DataSet |
Gets the internal data set object.
| |
| DataSource |
Gets the location and file name of the data source.
| |
| DbTables |
Gets the collection of C1DataTable objects representing data
in C1ExpressTable components attached to this C1ExpressConnection.
| |
| DesignMode |
Gets a value indicating whether a control is being used on a design surface.
(Inherited from Control.) | |
| EnableTheming |
Gets or sets a value indicating whether themes apply to this control.
(Inherited from Control.) | |
| EnableViewState |
Gets or sets a value indicating whether the server control persists its view state, and the view state of any child controls it contains, to the requesting client.
(Inherited from Control.) | |
| Events |
Gets a list of event handler delegates for the control. This property is read-only.
(Inherited from Control.) | |
| ExecutionMode |
Gets or sets a value indicating whether actions in handling a business logic event are deferred or performed immediately.
| |
| ExpressTables |
Gets the collection of C1WebExpressTable objects attached to this C1WebExpressConnection.
| |
| FieldDefaults |
Gets the FieldDefaults object containing default field settings.
| |
| FillOnRequest |
Gets or sets a value indicating whether the data set will be automatically filled with data when a data bound control requests data from it.
| |
| ID |
Gets or sets the programmatic identifier assigned to the server control.
(Inherited from Control.) | |
| IsChildControlStateCleared |
Gets a value indicating whether controls contained within this control have control state.
(Inherited from Control.) | |
| IsViewStateEnabled |
Gets a value indicating whether view state is enabled for this control.
(Inherited from Control.) | |
| Locale |
Determines the locale information used in string comparisons.
| |
| NamingContainer |
Gets a reference to the server control's naming container, which creates a unique namespace for differentiating between server controls with the same ID property value.
(Inherited from Control.) | |
| Page |
Gets a reference to the Page instance that contains the server control.
(Inherited from Control.) | |
| Parent |
Gets a reference to the server control's parent control in the page control hierarchy.
(Inherited from Control.) | |
| Provider |
Gets the name of the OLE DB provider.
| |
| Relations |
The collection of C1ExpressConnection relations.
| |
| SessionCacheProperties |
Gets the SessionCacheProperties object containing default session cache settings.
| |
| Site |
Gets information about the container that hosts the current control when rendered on a design surface.
(Inherited from Control.) | |
| SkinID |
Gets or sets the skin to apply to the control.
(Inherited from Control.) | |
| TemplateControl |
Gets or sets a reference to the template that contains this control.
(Inherited from Control.) | |
| TemplateSourceDirectory |
Gets the virtual directory of the Page or UserControl that contains the current server control.
(Inherited from Control.) | |
| UniqueID |
Gets the unique, hierarchically qualified identifier for the server control.
(Inherited from Control.) | |
| ViewState |
Gets a dictionary of state information that allows you to save and restore the view state of a server control across multiple requests for the same page.
(Inherited from Control.) | |
| Visible |
Gets or sets a value that indicates whether a server control is rendered as UI on the page.
(Inherited from Control.) |
Events
| Name | Description | |
|---|---|---|
| AfterFill |
Fired after the table attached to the connection have been filled with data.
| |
| AfterUpdate |
Fired after all changes in the data set are updated to the database.
| |
| AfterUpdateRow |
Fired after modifications made to a row are committed to the database.
| |
| BeforeFill |
Fired before the table attached to the connection are filled with data.
| |
| BeforeUpdate |
Fired before all changes in the data set are updated to the database.
| |
| BeforeUpdateRow |
Fired before modifications made to a row are committed to the database.
| |
| DataBinding |
Occurs when the server control binds to a data source.
(Inherited from Control.) | |
| Disposed |
Occurs when a server control is released from memory, which is the last stage of the server control lifecycle when an ASP.NET page is requested.
(Inherited from Control.) | |
| Error |
Fired when an error occurs.
| |
| GetChildRows |
Used to programmatically specify the list of child rows for a relation.
| |
| Init |
Occurs when the server control is initialized, which is the first step in its lifecycle.
(Inherited from Control.) | |
| Load |
Occurs when the server control is loaded into the Page object.
(Inherited from Control.) | |
| PreRender |
Occurs after the Control object is loaded but prior to rendering.
(Inherited from Control.) | |
| Unload |
Occurs when the server control is unloaded from memory.
(Inherited from Control.) | |
| UpdateError |
Fired when an error occurs committing changes to the dataset.
|