Tech
Forums
Jobs
Books
Events
Videos
Conference
Annual Conference
Bcrypt
Ai Conference
Live
More
Interviews
Certification
Training
Career
Members
News
Blogs
Contribute
An Article
A Blog
A Video
An Ebook
An Interview Question
Register
Login
0
Answer
Switch Database Connection
Ask a question
Ask a question
Upload Source Code:
Select only zip and rar file.
Aniket Yadav
13y
1.5k
1
Reply
I have One Weird Query.
Is it possible to switch from one database to other database programmatically?
For Eg:
I have one Master Database
Master Database:
CompanyID
Password
ConnStr
ABC0001
******
MyConnStr1
ABC0002
******
MyConnStr2
Now the user will login using his company credentials.
For Valid Login, The connection for the database will be changed taking the connection string from the master database.
And the user will be able to access the data from the other database.
So is it possible to implement such logic...
If Yes then please provide me the idea...
Please Help Me
Post
Reset
Cancel
Answers (
0
)
Next Recommended Forum
Convert Ifieldobject type from string to number in crystal report
Switch Connection For The Database