ADO.NET - what is different between 'system.data.sqlclient' and 'system.data.oledb'?
ADO.NET - what is different between 'system.data.sqlclient' and 'system.data.oledb'?
sqlclient is preferred to access SQL server database. SqlClient is already integrated into SQLServer. So there is no need of translation.
Oledb is preferred for any other database server. You can use oledb to access sqlserver also, but performance will be less compared to sqlclient.
|