摘要: 硬盘识别不了,显示盘符,读取不了,需要将其格式化。怎么操作。只需只需命令chkdsk G:/f 【G表示盘符】,检查修复一下即可。十几分钟左右自动搞定 阅读全文
posted @ 2020-06-16 11:19 零存 阅读(2264) 评论(0) 推荐(0) 编辑
摘要: 示例: 针对以上进行解析,解析代码 阅读全文
posted @ 2019-10-08 15:20 零存 阅读(2586) 评论(0) 推荐(0) 编辑
摘要: 使用IO流,使用文件流在磁盘创建一个 Excel 文件,然后使用流写入数据 public static void ExportExcel(DataTable dt) { string path = AppDomain.CurrentDomain.BaseDirectory + "Export/"; 阅读全文
posted @ 2018-12-05 17:06 零存 阅读(159) 评论(0) 推荐(0) 编辑
摘要: EXEC sp_addlinkedserver @server='别名', --链接服务器别名 @srvproduct='', @provider='SQLOLEDB', @datasrc='ip地址' --需要访问的的数据库所在的服务器的ip GO EXEC sp_addlinkedsrvlogi 阅读全文
posted @ 2018-08-03 10:45 零存 阅读(342) 评论(0) 推荐(0) 编辑
只有注册用户登录后才能阅读该文。 阅读全文
posted @ 2018-07-23 16:19 零存 阅读(2) 评论(0) 推荐(0) 编辑
摘要: --启用xp_cmdshell EXEC sp_configure 'xp_cmdshell', 1GORECONFIGUREGO xp_cmdshell { 'command_string' } [ , no_output ] --执行EXEC xp_cmdshell 'C:\Sendpnemai 阅读全文
posted @ 2018-05-31 09:44 零存 阅读(1670) 评论(0) 推荐(0) 编辑