The C1WebExpressConnection type exposes the following members.

Constructors

  NameDescription
Public methodC1WebExpressConnection
Initializes a new instance of the C1WebExpressConnection class.

Methods

  NameDescription
Public methodAcceptChanges
Commits all changes made to the data set since it was filled with data or the last time AcceptChanges or RejectChanges()()()() was called.
Protected methodAddedControl
Called after a child control is added to the Controls collection of the Control object.
(Inherited from Control.)
Protected methodCreateChildControls
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.)
Public methodFill
Fills the tables attached to the connection with data fetching it from the database.
Public methodGetExportDataSetOverloaded.
Protected methodGetView
Gets the named data source view associated with the data source control.
(Inherited from DataSourceControl.)
Protected methodGetViewNames
Gets a collection of names, representing the list of DataSourceView objects associated with the DataSourceControl control.
(Inherited from DataSourceControl.)
Public methodHasChangesOverloaded.
Protected methodLoadControlState
Restores control-state information from a previous page request that was saved by the SaveControlState()()()() method.
(Inherited from Control.)
Protected methodMapPathSecure
Retrieves the physical path that a virtual path, either absolute or relative, maps to.
(Inherited from Control.)
Protected methodOnInit
Raises the Init event.
(Inherited from Control.)
Protected methodOnLoad
Raises the Load event.
(Inherited from Control.)
Protected methodOnPreRender
Raises the PreRender event.
(Inherited from Control.)
Protected methodOnUnload
Raises the Unload event.
(Inherited from Control.)
Protected methodOpenFile
Gets a Stream used to read a file.
(Inherited from Control.)
Public methodPopExecutionMode
Restores the execution mode affecting actions invoked while handling another action.
Public methodPushExecutionMode
Sets the execution mode affecting actions invoked while handling another action.
Public methodReadXmlOverloaded.
Public methodRejectChanges
Rolls back all changes made to the data set since it was filled with data or the last time AcceptChanges()()()() or RejectChanges was called.
Protected methodRemovedControl
Called after a child control is removed from the Controls collection of the Control object.
(Inherited from Control.)
Protected methodRender
Sends server control content to a provided HtmlTextWriter object, which writes the content to be rendered on the client.
(Inherited from Control.)
Protected methodRenderChildren
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.)
Protected methodSaveControlState
Saves any server control state changes that have occurred since the time the page was posted back to the server.
(Inherited from Control.)
Public methodUpdate
Updates (commits) all changed data set rows to the database.
Public methodWriteXmlOverloaded.

Properties

  NameDescription
Protected propertyAdapter
Gets the browser-specific adapter for the control.
(Inherited from Control.)
Public propertyAlwaysEscapeNames
Gets or sets a value indicating whether every table and column name must be quoted to avoid collision with reserved keywords.
Public propertyAppRelativeTemplateSourceDirectory
Gets or sets the application-relative virtual directory of the Page or UserControl object that contains this control.
(Inherited from Control.)
Public propertyCacheProperties
Gets the CacheProperties object containing cache settings.
Public propertyCaseSensitive
Determines whether string comparisons are case-sensitive.
Public propertyChangeInProgress
Gets or sets a value indicating whether firing AfterChanges event is deferred.
Public propertyClientID
Gets the server control identifier generated by ASP.NET.
(Inherited from Control.)
Public propertyConnection
Returns database connection object at run time.
Public propertyConnectionString
Gets or sets the connection string used to connect to the database.
Public propertyConnectionTimeout
Gets the time to wait while trying to establish a connection before terminating the attempt and generating an error.
Public propertyConnectionType
Gets or sets the type of database connection, either via OLE DB or using one of the native database access options.
Protected propertyContext
Gets the HttpContext object associated with the server control for the current Web request.
(Inherited from Control.)
Public propertyControls
Gets a ControlCollection object that represents the child controls for a specified server control in the UI hierarchy.
(Inherited from Control.)
Public propertyDatabase
Gets the name of the current database or the database to be used once a connection is open.
Public propertyDataSet
Gets the internal data set object.
Public propertyDataSource
Gets the location and file name of the data source.
Public propertyDbTables
Gets the collection of C1DataTable objects representing data in C1ExpressTable components attached to this C1ExpressConnection.
Protected propertyDesignMode
Gets a value indicating whether a control is being used on a design surface.
(Inherited from Control.)
Public propertyEnableTheming
Gets or sets a value indicating whether themes apply to this control.
(Inherited from Control.)
Public propertyEnableViewState
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.)
Protected propertyEvents
Gets a list of event handler delegates for the control. This property is read-only.
(Inherited from Control.)
Public propertyExecutionMode
Gets or sets a value indicating whether actions in handling a business logic event are deferred or performed immediately.
Public propertyExpressTables
Gets the collection of C1WebExpressTable objects attached to this C1WebExpressConnection.
Public propertyFieldDefaults
Gets the FieldDefaults object containing default field settings.
Public propertyFillOnRequest
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.
Public propertyID
Gets or sets the programmatic identifier assigned to the server control.
(Inherited from Control.)
Protected propertyIsChildControlStateCleared
Gets a value indicating whether controls contained within this control have control state.
(Inherited from Control.)
Protected propertyIsViewStateEnabled
Gets a value indicating whether view state is enabled for this control.
(Inherited from Control.)
Public propertyLocale
Determines the locale information used in string comparisons.
Public propertyNamingContainer
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.)
Public propertyPage
Gets a reference to the Page instance that contains the server control.
(Inherited from Control.)
Public propertyParent
Gets a reference to the server control's parent control in the page control hierarchy.
(Inherited from Control.)
Public propertyProvider
Gets the name of the OLE DB provider.
Public propertyRelations
The collection of C1ExpressConnection relations.
Public propertySessionCacheProperties
Gets the SessionCacheProperties object containing default session cache settings.
Public propertySite
Gets information about the container that hosts the current control when rendered on a design surface.
(Inherited from Control.)
Public propertySkinID
Gets or sets the skin to apply to the control.
(Inherited from Control.)
Public propertyTemplateControl
Gets or sets a reference to the template that contains this control.
(Inherited from Control.)
Public propertyTemplateSourceDirectory
Gets the virtual directory of the Page or UserControl that contains the current server control.
(Inherited from Control.)
Public propertyUniqueID
Gets the unique, hierarchically qualified identifier for the server control.
(Inherited from Control.)
Protected propertyViewState
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.)
Public propertyVisible
Gets or sets a value that indicates whether a server control is rendered as UI on the page.
(Inherited from Control.)

Events

  NameDescription
Public eventAfterFill
Fired after the table attached to the connection have been filled with data.
Public eventAfterUpdate
Fired after all changes in the data set are updated to the database.
Public eventAfterUpdateRow
Fired after modifications made to a row are committed to the database.
Public eventBeforeFill
Fired before the table attached to the connection are filled with data.
Public eventBeforeUpdate
Fired before all changes in the data set are updated to the database.
Public eventBeforeUpdateRow
Fired before modifications made to a row are committed to the database.
Public eventDataBinding
Occurs when the server control binds to a data source.
(Inherited from Control.)
Public eventDisposed
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.)
Public eventError
Fired when an error occurs.
Public eventGetChildRows
Used to programmatically specify the list of child rows for a relation.
Public eventInit
Occurs when the server control is initialized, which is the first step in its lifecycle.
(Inherited from Control.)
Public eventLoad
Occurs when the server control is loaded into the Page object.
(Inherited from Control.)
Public eventPreRender
Occurs after the Control object is loaded but prior to rendering.
(Inherited from Control.)
Public eventUnload
Occurs when the server control is unloaded from memory.
(Inherited from Control.)
Public eventUpdateError
Fired when an error occurs committing changes to the dataset.

See Also