如何访问附加的数据库 [英] How to access an attached database

查看:74
本文介绍了如何访问附加的数据库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨!

我正在尝试使用C#制作应用程序,并且需要Microsoft数据库中的一些信息,但是该数据库已附加到另一个程序,或者该程序正在使用中,我如何从中读取信息.我只需要从数据库中读取并填充一些ComboBoxe的信息即可.如何链接到C#中的数据库.


谢谢!

Hi!

I''m trying to make an application in c# and need some information from an Microsoft database, but this database is attached to another program, or is in use by this program, how can i read from it. I only need to read from the database and populate some ComboBoxe''s whit that information. How do i link to the database in C#.


Thanks!

推荐答案

初学者指南通过以下方式访问SQL Server C# [^ ]

ConnectionStrings.com 将帮助您创建连接字符串.
Beginners guide to accessing SQL Server through C#[^]

ConnectionStrings.com will help you to create the connection strings.


这篇关于如何访问附加的数据库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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