简体   繁体   English

从 C# 中的 SQL 服务器下载/上传文件 [暂停]

[英]Download/upload files from/to SQL Server in C# [on hold]

I have a question about how to download files from the server and save it on the path that I want when a button is clicked?我有一个关于如何从服务器下载文件并将其保存在单击按钮时所需的路径的问题? On the server I generate XML files and need to save it on the computer and in the next step upload it too but I don't know idea.在服务器上,我生成 XML 文件,需要将其保存在计算机上,下一步也上传,但我不知道。

I think your question does not have enough information about the scenario.我认为您的问题没有关于该场景的足够信息。 There are quite a few resources on net explaining how to store files in sql server with c#.网上有很多资源解释了如何使用 c# 在 sql 服务器中存储文件。 For example:例如:

https://www.codeproject.com/Questions/736961/Save-file-in-sql-database-in-csharp-win-form https://www.codeproject.com/Questions/736961/Save-file-in-sql-database-in-csharp-win-form

Is there something unique that you are trying to do and is not explained in these articles?您是否正在尝试做一些独特的事情,但这些文章中没有解释?

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

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