我们如何在c sharp库项目中添加和连接到sdf local db [英] how can we add and connect to sdf local db in c sharp library project

查看:76
本文介绍了我们如何在c sharp库项目中添加和连接到sdf local db的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们如何添加和 在 中连接到sdf本地数据库c sharp 库项目

how can we add and  connect to sdf local db in  c sharp  library project

推荐答案

你好Vivek,

Hi Vivek,

>>如何添加。 ..

>>How to add...

1,转到 - >解决方案资源管理器 - >右键单击您的应用程序 - >添加 - >新项目。

1, Go to->Solution explorer->right click on your application->Add->New Item.

2,转到 - > Data-> Local dataBase->单击Add按钮。

2, Go to->Data->Local dataBase->Click on Add button.

3,然后转到 - >查看菜单 - >服务器浏览器。

3, Then go to->view menu->Server Explorer.

在这里,您可以看到由您创建的本地数据库。

Here, you can see the local database which is created by you.

<强> >>如何连接......

>>How to connect...

请参阅以下文件了解更多详情:

Refer to the following document for more details please:

在Windows应用程序C#中使用本地数据库文件(.sdf)

问候,

Stanly


这篇关于我们如何在c sharp库项目中添加和连接到sdf local db的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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