System.Web.UI.WebControls.AccessDataSource.ConnectionString Property

Gets the connection string that is used to connect to the Microsoft Access database.

Syntax

[System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
[System.ComponentModel.Browsable(false)]
public override string ConnectionString { set; get; }

Value

Documentation for this section has not yet been entered.

Remarks

The System.Web.UI.WebControls.AccessDataSource control can be used only with the System.Data.OleDb .NET data provider, and the connection string that System.Web.UI.WebControls.AccessDataSource uses is specific to this provider. Therefore, the System.Web.UI.WebControls.AccessDataSource control exposes connection string settings, such as the AccessDataSource.DataFile property, as a property and constructs a connection string at run time using the values of the AccessDataSource.ConnectionString property, if set.

Requirements

Namespace: System.Web.UI.WebControls
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0