S
Steve1 via DotNetMonster.com
Hi all,
Below is the string I'm using to open a MS Access database using ADO.NET that
is password protected. The variable str_Destination is contains the correct
database path. Can I leave out the other information between the
str_Destination (the database path) and the password or do I need to include
it such as including the uid= bit?? Can someone show me how I need to
construct it??
string str_DestinationPath = @"Provider=Microsoft.Jet.OLEDB.4.0;Data Source =
" + str_Destination + ";uid=;Pwd=PC60GS7154";
Thanks in advance,
Steve.
Below is the string I'm using to open a MS Access database using ADO.NET that
is password protected. The variable str_Destination is contains the correct
database path. Can I leave out the other information between the
str_Destination (the database path) and the password or do I need to include
it such as including the uid= bit?? Can someone show me how I need to
construct it??
string str_DestinationPath = @"Provider=Microsoft.Jet.OLEDB.4.0;Data Source =
" + str_Destination + ";uid=;Pwd=PC60GS7154";
Thanks in advance,
Steve.