开发者

How to connect with multiple DBs in a asp.net web application?

I have a application which validates UserID - UserID 开发者_如何学Cis of 32 digit UID......

i need to validate the UID to find where this user exists in

database 'A' or 'B' or 'c' or 'D'or 'E'or 'F'

reply me your ideas..

ps: databases may ex-tern at later ....

so i need a dynamic connection string


I would suggest to use the support from a framework like spring.net

I've done this before with that framework. You could declare as many datasources as you need and decide in runtime wich one you should use. Also using this kind of frameworks improves the quality and perfomance of your application.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜