如何在应用程序中使用两个数据库 [英] how to use two database in a application

查看:115
本文介绍了如何在应用程序中使用两个数据库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想澄清一下.在一个Windows应用程序中可以使用两个数据库吗?
(i,e)在应用程序中可以将一些信息检索到其他数据库中

Hi, I want some clarification. In a windows application can use two database?
(i,e) In the application can retrieve some information to other database

推荐答案

是的.我们可以用 .
通过使用不同的连接字符串,我们可以从两个数据库中检索值.
Yes. We can use .
by using different connection string we can retrieve values from the two data bases.


在此之前已经回答了类似的问题,请检查这些

如何将两个数据库中的记录提取到一个应用程序中. [ ^ ]
如何从两个数据库读取数据到Asp.net应用程序 [ ^ ]
更新来自不同服务器的数据 [在一个数据库中使用多个数据库有什么好处应用程序? [
Already answered similar questions here before, check these

how to fetch records from two Database into one Application.[^]
how to read data from two Database into Asp.net Application[^]
Updating Data From Different Servers[^]
Is there any advantage of using multiple DB in one application ?[^]


这篇关于如何在应用程序中使用两个数据库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆