摘要:
比如你的电脑要在22:00关机,可以选择“开始→运行”,输入“at 22:00 Shutdown -s”,这样 阅读全文
posted @ 2007-03-10 15:23 pegger 阅读(590) 评论(1) 推荐(0)
|
|
|
|
摘要:
比如你的电脑要在22:00关机,可以选择“开始→运行”,输入“at 22:00 Shutdown -s”,这样 阅读全文
posted @ 2007-03-10 15:23 pegger 阅读(590) 评论(1) 推荐(0)
摘要:
/**//// /// image to byte[] /// public byte[] BytesToImage(Image ImgPic) { if (ImgPic!=null) { MemoryStream Stream = new MemoryStream(); model.Photo.Save(Stream, System.Drawi... 阅读全文
posted @ 2007-03-10 15:19 pegger 阅读(441) 评论(0) 推荐(0)
摘要:
'方法一Public Sub ExecuteSQLScriptFile()Sub ExecuteSQLScriptFile(cn as ADODB.Connection,sqlFile As String)Dim strSql As String, strTmp As StringOpen sqlFile For Input As #1strSql = ""Do While Not EOF(1)L... 阅读全文
posted @ 2007-03-10 15:16 pegger 阅读(410) 评论(1) 推荐(0)
摘要:
/// ///备份数据库到本地磁盘 /// public bool BackUp(string BackUpFile) { try { //第一步:在服务器上创建临时文件夹 ExecuteSql(@"master..xp_cmdshell 'md C:\temp'"); Execute... 阅读全文
posted @ 2007-03-10 15:15 pegger 阅读(824) 评论(1) 推荐(0)
摘要:
backup log 数据库名称 with no_log
dbcc shrinkfile (数据库日志文件逻辑名称)
例如 阅读全文
posted @ 2007-03-10 15:12 pegger 阅读(253) 评论(0) 推荐(0) |
|
河南恒友科贸有限公司 电话 :0371-53733453 传真:0371-65388972 地址:郑州市郑花路8号 E-mail:hengyousoft@QQ.com |