c# Oracle Dynamic Connection string solution -
i have application connects specific oracle user & database data provided user through 1 little form.
user inputs username, password , host address , can connect user defined locally, in oracle client's file: tnsnames.ora. works fine, have problem when designing reports devexpress
(or other reports designer tool) same application.
all devexpress reports communicating database tables through dataset uses fixed, hardcoded values defined in connection string in app.config.
the problem can't have hardcoded values connecting database, because user can every time enter different values , connect different user on database, through little connection form, when application running.
know best way deal this?
i don't know, maybe replacing connection string in app.config every time when user inputs connection data?
you have static connection string reports , separate 1 oracle db/user connection.
Comments
Post a Comment