asp.net.ph

AccessDataSource.ProviderName Property

System.Web.UI.WebControls Namespace   AccessDataSource Class


.NET Framework version 2.0

Returns the name of the .NET data provider that the AccessDataSource control uses to connect to a Microsoft Access database.

Syntax


Script [ strProviderName ] = AccessDataSource.ProviderName

Property Value


strProviderName The name of the .NET data provider

The property is read only with a default value of System.Data.OleDb.

Exceptions


Exception Type Condition
NotSupportedException An attempt was made to set the ProviderName property.

Remarks

While the AccessDataSource control exposes the ProviderName property because it is inherited from its base class, attempting to set the ProviderName property results in a NotSupportedException thrown.

See Also

ConnectionString Skip Navigation Links




Previous page Back to top Next page

Check out related books at Amazon

© 2025 Reynald Nuñez and asp.net.ph. All rights reserved.

If you have any question, comment or suggestion
about this site, please send us a note