OleDb is used for connecting to any database like SQL Server, Access, Oracle, ExcelSqlClient is used for SQL Server only.