In article <uf**************@tk2msftngp13.phx.gbl>,
tc******@hotmail.com
says...
If I want to make an application that connects to eather Access DB, SQL,
Oracle, or uses Web Service. What would me the best way to do it? Any
Samples? Can I create a web reference in Runtime?
For Access/SQL/Oracle you could try the OleDb classes. For maximum
performance, you'll want to create a Factory class that will instantiate
the proper object depending on the server type (i.e. "SqlConnection" for
SQL, "OracleConnection" for Oracle, etc...). Have the factory class
(and the rest of your code) use the generic System.Data interfaces
(IDbCommand, IDbConnection, IDataReader, etc...)
--
Patrick Steele
Microsoft .NET MVP
http://weblogs.asp.net/psteele