| Author: Shiva SaiRam 02 Nov 2009 | Member Level: Diamond | Rating:  Points: 2 |
Hai, We can find connection strings for different data sources here: http://www.connectionstrings.com/
|
| Author: Christopher 02 Nov 2009 | Member Level: Gold | Rating:  Points: 2 |
Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\DataBase\mydatabase.mdb;Jet OLEDB:Database Password=MyDbPassword;
|
| Author: Abhisek Panda 02 Nov 2009 | Member Level: Gold | Rating:  Points: 2 |
You can use the following code
this.con = new OleDbConnection(); //passing the database path and provider name this.con.ConnectionString = "Data Source =d:\\Student.mdb;Provider = Microsoft.Jet.Oledb4.0";
Thanks And Regards, Abhisek Panda Be Happy And Make Others Happy. Go Green and Save Your Future.
|
| Author: Anil Kumar Pandey 02 Nov 2009 | Member Level: Diamond | Rating:  Points: 2 |
Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\mydatabase.mdb;Jet OLEDB:Database Password=MyDbPassword;
Thanks & Regards Anil Kumar Pandey
|
| Author: Dharmaraj 02 Nov 2009 | Member Level: Diamond | Rating:  Points: 2 |
Hi, Provider=Microsoft.Jet.OleDb.4.0;Data Source=c:\\test.mdb
Regards, Dharma Editor,Mentor,MVM Try and fail but don't fail and try Me and DNS
|