ok i do it!: (but is it stable?) (substitute the char _ with <)
in web.config i add ::: section name="customdata" requirePermission="false" type="DotNetNuke.Framework.Providers.ProviderConfigurationHandler, DotNetNuke" />
and below data tag data>customdata defaultProvider="SqlDataProvider">_ providers> _ clear />_ add name="SqlDataProvider" type="DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider" connectionString="Server=(local);Database=Northwind;uid=sa;pwd=xxxxxxxxxx;"upgradeConnectionString="" providerPath="~\Providers\DataProviders\SqlDataProvider\" objectQualifier="" databaseOwner="dbo" />_ /providers>_ /customdata>
in dataprovider.vb: objProvider = CType(Framework.Reflection.CreateObject("customdata", "DotNetNuke.Modules.Reports.Data", String.Empty), DataProvider)
in sqldataprovider.vb: Private Const ProviderType As String = "customdata"......'_connectionString = Config.GetConnectionString()'If _connectionString = "" Then' Use connection string specified in provider_connectionString = objProvider.Attributes("connectionString")'End If
what about this solution?