简体   繁体   English

如何使用C#远程更新SQL Server数据库

[英]How to update SQL Server database remotely using C#

I'm a beginner to Programming. 我是编程的初学者。 But I'm working on a C# project and what i need to do is update my SQL Server database remotely. 但是我正在研究C#项目,我需要做的是远程更新SQL Server数据库。 I mean when a one client update the database send that updated data to other clients. 我的意思是,当一个客户端更新数据库时,会将更新后的数据发送给其他客户端。 I'm using a SQL Server 2008. I don't have a any idea to do this task. 我正在使用SQL Server2008。我不知道要执行此任务。

Thanks for your kind reply's. 多谢您的回覆。

The question is too broad. 这个问题太广泛了。 You're asking for a general programming and database connectivity tutorial. 您需要一个一般的编程和数据库连接教程。 I recommend you start with a guide, online tutorial, or book and return to StackOverflow with specific code-based questions when a particular step along that process does not behave the way you expected it to (starting with a search of course to avoid duplicate questions). 我建议您从指南,在线教程或书本开始,然后在StackOverflow遇到特定的基于代码的问题时返回该代码,当该过程中的某个特定步骤与您预期的行为不符时(当然先搜索以避免重复的问题) )。

Here's an existing StackOverflow question with many links to further reading: Introduction to database interaction with C# 这是一个现有的StackOverflow问题,其中有许多链接可供进一步阅读: 与C#进行数据库交互的简介

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM