Submitted by vivek on Mon, 08/22/2011 - 20:46
I had a crystal report which is called within C# to generate a pdf file.
While deploying i had to change the db name. How to change the database name without changing the database info in the report itself
This will not work: repDoc.SetDatabaseLogon(db_username, db_password, server_name, database_name);
Use this
repDoc.Load(repFilePath);