通过我的c#app更新别人的数据库? [英] Updating someone else's database by my c# app?

查看:66
本文介绍了通过我的c#app更新别人的数据库?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否可以使用我自己的应用程序添加/修改其他人的应用程序的数据库文件(.sdf扩展名)的数据(我只会将数据库文件说,db.sdf并以某种方式添加到我的程序中)应用程序吗?我不想使用他的程序,因为使用winform app手动
添加数据需要很长时间。

Is it possible to add/modify data of a database file (.sdf extension) of someone else's app(I will only take the database file say, db.sdf and somehow add in my program) using my own app? I do not want to use his program cause it takes a long time to manually add data using a winform app.

数据库表有四列(ID,Name,Age,Icode),我想用我自己的程序向这个表添加/修改数据,这可以完成吗?

The database table has four columns (ID, Name, Age, Icode) and I want to add/modify data to this table with my own program, can this be done and how?

推荐答案

多个程序很可能连接到同一个数据库。

It is very possible for multiple programs to connect to the same database.

注意你没有"占用"另一个数据库而且不需要做任何事情使用.sdf文件。您需要做的是让您的程序连接到另一个数据库。

Note you are not 'taking' another database and don't need to do anything with .sdf files. What you need to do is for your program to connect to this other database.

要做到这一点,当然,您需要知道相应的连接详细信息并使用适当的登录方式您写入表格的权限。

To do that, of course, you will need to know the appropriate connection details and have a suitable login with appropriate permissions for you to write to the table.




这篇关于通过我的c#app更新别人的数据库?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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