[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

microsoft.public.dotnet.framework.odbcnet

How to switch Data providers

Teodorico Morell

3/5/2002 1:44:00 AM

Before using .Net, I used VB with native ODBC access. To change from one
database to another was really easy. I just change the DSN.

Now with .Net we have the:

System.Data.SqlClient;

System.Data.OleDb;

Microsoft.Data.Odbc;



How can I write and application and switch from System.Data.OleDb, lets say
to Microsoft.Data.Odbc (To use and ODBC driver because and OLEDB provider is
not available) without changing any code.



Thanks,





Teo