c# - How to set Datasource pointing to multiple Database at the time crystal report creation -
i need create crystal report , have set datasource location pointing development, testing , production servers. created crystal report placed in database table , fetched @ time of report generation passing credentials(development or production). whatever datasource given @ time of creation pointing cant able change datasource through code.
please me in this. need crystal report generated multiple datasource connections.
in c# have written code shown below:
oreport.setdatabaselogon(gcuser, gcpassword, gcdb, gcdb); oreport.datasourceconnections[0].setlogon(gcuser, gcpassword);
you cannot create 1 report multiple saved connections. can apply connection on fly in code, when running report or can save multiple reports, differ connection. there tools , can used replace report's database connection. 1 http://r-tagsoftware.com/pages/crystaldatasource can process single report free
Comments
Post a Comment