Hello - I have access 2003 database with user level security on it.
should I be able to code a connection to allow me to access the database with a user id and password?
I have a statement now:
I mean connect with a C#.net form
***i hand typed in if any mistakes- but it works-Code:public void DataConnection() { con = new OLEDbconnection("Provider=Microsoft.Jet.OLEDB.4.0;data source=./database.mdb"); con.Open(); }
now I have looked at connection strings adding user id and password after data source- but I cannot find any that are similar to mine-
specifically: source=./database.mdb"
all connection string have backslash to C: drive- can i change my code- or add user Id and password to it?
thank you



LinkBack URL
About LinkBacks
Reply With Quote

Bookmarks