09 2013 档案

摘要:解决办法: 1、新建一个同名数据库。 2、停止数据库服务,覆盖新建的数据库主文件(小技巧:最好放在同一个磁盘里面,把新建的数据库主文件删掉或移开,再把要恢复的数据库主文件剪切过去,这样就可以节省时间。) 3、启动数据库服务,数据库变为置疑或可疑状态。然后在查询分析器中运行: alter databa 阅读全文
posted @ 2013-09-18 11:56 深南大道 阅读(184) 评论(0) 推荐(0) 编辑
摘要:将以下内容保存为 openSql.bat 双击运行即可 阅读全文
posted @ 2013-09-16 14:45 深南大道 阅读(280) 评论(0) 推荐(0) 编辑
摘要:1. win2003可以这样自动重启: 新建一个命令行文件比如reboot.bat 内容如下:shutdown -r -t 30 在计划任务中新建一个任务,程序选择上面这个reboot.cmd文件,时间定好,执行任务的用户及密码设置好 2. 你是否想睡觉或出门,但电脑又正在进行工作,不能现在就关机, 阅读全文
posted @ 2013-09-16 12:32 深南大道 阅读(1503) 评论(0) 推荐(0) 编辑
摘要:#region 数据四舍五入 /// <summary> /// 四舍五入 /// </summary> /// <param name="dblnum">源数据</param> /// <param name="numberprecision">小数位</param> /// <returns>< 阅读全文
posted @ 2013-09-13 09:46 深南大道 阅读(851) 评论(0) 推荐(0) 编辑
摘要:--- Server Side ------------------------------------------------------ --- Cl... 阅读全文
posted @ 2013-09-09 15:34 深南大道 阅读(169) 评论(0) 推荐(0) 编辑
摘要:using System; using System.Collections.Generic; using System.Linq; using System.Web; /// ///TestTableModel 的摘要说明 /// public class TestTableModel { public int D_Id { get; set; } public strin... 阅读全文
posted @ 2013-09-05 15:51 深南大道 阅读(131) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示