Connection Strings for C#.net
Name Space For Oledb Connection
System.Data. SqlClient;
Connection strings
Name Space For Oledb Connection
Using System.Data.OleDb;For Excel
StrCon="Provider=Microsoft.Jet.OLEDB
For MySql
StrCon="Provider=MySQLProv;Data Source=mydb;User Id=myUsername;Password=myPasswo
For Oracle
StrCon="Provider=msdaora;Data Source=MyOracleDB;User Id=myUsername;Password=myPasswoFor Oracle
StrCon="Provider=msdaora;Data Source=MyOracleDB;User Id=myUsername;Password=myPasswo
Labels: ADO.NET, C#.Net Connection Strings, To connect Database
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home