access数据库备份问题 - .NET技术 / ASP.NET
System.IO.File.Copy(Server.MapPath("~/App_Data/lulukang.mdb"), "DataBackup", true);我是这么写的,怎么不行?
DataBackup是我项目一个文件夹名
System.IO.File.Copy(Server.MapPath("~/App_Data/lulukang.mdb"), Server.MapPath("~/DataBackup/lulukang.mdb"), true);
相关问答:
select top 12 * from Product where [id] not in (select top 12 [id] from Product)
这样可以分页,但是我在后面想加个条件
select top 12 * from Product where [id] not in (select top 12 [id] from Prod ......
有一个数据库里只有2W条数据不到,却有500M那么大,怎么回事啊?是ACCESS的数据库。后来我把ACCESS导入到MSSQL中,也占用了500M左右的空间,如果压缩数据库呢?请高手指点
压缩数据库?能做到么...
期待高人指点 我 ......
3个radioButton
一个Button
一个label
C# code:
protected void Button1_Click(object sender, EventArgs e)
{
string str = null;
RadioButton rdo=(RadioButton)sender;
......
就是一个按钮,点击之后打开对话框,然后选取图片。就这样上传。。
怎么实现。在网上搜到那么多的代码,全是很多的那种,不知道,看不下去。
所以在这里想请大哥大姐帮帮忙。
使用自带的fileupload控件可以实现 ......