Respondido Database Connection Problem

  • venerdì 27 aprile 2012 07:49
     
     

    Hello,

    I Convert my vb6 project into vb.net 2010. In VB6 i have two database 1.Access and 2.MSSQL

    The Design of both database are same and database selection by the client requirement some want access and some want MSSQL. In VB6 Project I just change the connection string and its work for both data base.

    Now vb.net 2010 Provide OLEDB, SqlClient. Which one i choose if i choose OLEDB then i am not able to connect MSSQL Database. and If I Choose SqlClient then i am not able to connect MSAccess Database.

    I want the both connection of database [At a time one MSSQL OR MSACCESS] by minimum changes.


    Art Of Living Is Art Of Giving

Tutte le risposte