如何使用vb在asp.net中复制和替换文件? [英] How to copy and replace file in asp.net using vb ?

查看:79
本文介绍了如何使用vb在asp.net中复制和替换文件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述





你好如何在asp.net里面的根文件夹中复制和替换mdb文件,我的意思是在服务器机器上部署,我有空数据库,当用户点击我需要在现有的mdb中复制空db和repalce。





注意:我不是要求复制并粘贴到新的地方,我需要使用vb语言替换asp.net中现有的mdb文件。







问候

Aravind

Hi

Hi how to copy and replace mdb file in asp.net inside root folder,i mean deploy in server machine,i have empty db ,when user click i need to copy empty db and repalce in exisiting mdb.


Note: i am not ask copy and paste in new place,i need to replace with existing mdb file in asp.net using vb language.



Regards
Aravind

推荐答案

试试这些链接 -

http://www.dreamincode.net/forums/topic/172576-copy-a-file-and-overwrite/ [ ^ ]

http://www.dotnetheaven .com / article / how-to-replace-a-file-using-vb.net [ ^ ]

http://www.rondebruin.nl/win/s3/win026.htm [ ^ ]





当您在IIS中托管您的站点时,该站点运行的用户应该可以访问这些文件夹以读取和写入文件。
Try these links -
http://www.dreamincode.net/forums/topic/172576-copy-a-file-and-overwrite/[^]
http://www.dotnetheaven.com/article/how-to-replace-a-file-using-vb.net[^]
http://www.rondebruin.nl/win/s3/win026.htm[^]


When you host your site in IIS, the user that site is running against should have access to these folders for reading and writing files.


这篇关于如何使用vb在asp.net中复制和替换文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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