Saroj13
asked on
How to get the connection string depending upon the url parameter passed in c#, asp.net?
Hi,
I am having ItemList Application. This application is used by 20 applications and each of them have separate database. From each 20 applications, I want to open the ItemList application and value is inserted in the corresponding database.
ItemList application is not having its own database. ItemList is using the database depending upon the application called.
<A href="ItemList/Login.aspx? AppID=Call App" target="_self">ItemList</A >
How this can be achieved?
I am having ItemList Application. This application is used by 20 applications and each of them have separate database. From each 20 applications, I want to open the ItemList application and value is inserted in the corresponding database.
ItemList application is not having its own database. ItemList is using the database depending upon the application called.
<A href="ItemList/Login.aspx?
How this can be achieved?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
App1
<A href="ItemList/Login.aspx?
App1 is having Database App1. App1 Database is having 3 corresponding ItemList tables.
App2
<A href="ItemList/Login.aspx?
App2 is having Database App2. App2 Database is having 3 corresponding ItemList tables.
ItemList application, depending upon the Parameter passed in the url, use the corresponding database. If Itemlist app is open from App1 application, then Itemlist app uses App1 Database.
If Itemlist app is open from App2 application, then Itemlist app uses App2 Database.
ItemList is the generic application.
Thanks