CR XI Access System database in asp.net 2.0
I use the following code to login to a crystal report based arround an ms access database
<add key ="AccessDB" value="d:\goldmine\orielgold\Goldmine.mdb"/>
ConnectionInfo crInfo = new ConnectionInfo();
crInfo.DatabaseName = appSettings.Settings["AccessDB"].Value;
crInfo.ServerName = appSettings.Settings["AccessDB"].Value;
crInfo.UserID = "";
crInfo.Password = "";
I need to do this now to a secured version. I have modified the above code to
ConnectionInfo crInfo = new ConnectionInfo();
crInfo.DatabaseName = appSettings.Settings["AccessDB"].Value;
crInfo.ServerName = appSettings.Settings["AccessDB"].Value;
crInfo.UserID = "Goldmine";
crInfo.Password = "orielgold";
BUT how do I specify the location/path/name of the system.mdw file?
In previous version there was a .add property but this does not appear in VS2005/CR XI R2 system.
Thanks
Robert
|