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




Home
Suggested Reading


Previous page Back to top Next page

© 2000-2010 Rey Nuñez All rights reserved.

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

You can help support asp.net.ph