[ADVANCED-DOTNET] Generic connection string for MSSQL, JET, ODBC using OleDbConnection?

2004-05-18 Thread Josh Blair
pe of flexibility or will I need to System.Data.SqlClient, System.Data.OleDb, and System.Data.ODBC connection objects respectively? Regards, Josh Blair SoftBrands, Inc. Software Developer (720) 479-3610 (Direct) (303) 918-3304 (Cell) DemandStream Americas. China. Europe. India. [EMAIL PROT

[ADVANCED-DOTNET] Get a list of System DSNs in ADO.NET/C#?

2004-05-17 Thread Josh Blair
Hello, Does anyone know of a way to get a list of System ODBC Data sources in ADO.NET? I see there is a SQLDataSources API call but was hoping to avoid Interop. I guess that would work just fine though so if anyone has any samples, that would great too. Regards, Josh Blair SoftBrands, Inc