如何从我们的服务器和gridview中删除或替换上传的文件 [英] How to delete or replace uploaded file from our server and gridview
本文介绍了如何从我们的服务器和gridview中删除或替换上传的文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
在具有以下地址的文章在ASP.NET中使用SQL Server上载和下载文件"中:
在ASP中使用SQL Server上载和下载文件. NET [ ^ ]
展示了如何从服务器上传文件并将其插入gridview.
现在,如果我想使用2按钮控制从服务器和gridview中删除或替换上载的文件,必须在本文中添加什么代码.
最好的问候.
In the article "Upload and Download Files with SQL Server in ASP.NET" with below address:
Upload and Download Files with SQL Server in ASP.NET[^]
Shows how we can upload file from server and insert that in gridview.
Now if I like to delete or replace uploaded file from our server and gridview with using 2 button control what code I have to add to this article.
Best regards.
推荐答案
因此,用新文件覆盖旧文件并重新绑定网格.您面临什么困难?
So, overwrite the old file with the new one and rebind the grid. What difficulty are you facing?
这篇关于如何从我们的服务器和gridview中删除或替换上传的文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文