摘要: 错误信息:未在本地计算机上注册“microsoft.ACE.oledb.12.0”提供程序。 解决办法: 去http://download.microsoft.com/download/7/0/3/703ffbcb-dc0c-4e19-b0da-1463960fdcdb/AccessDatabase 阅读全文
posted @ 2016-12-06 10:35 dexin 阅读(6596) 评论(0) 推荐(0) 编辑
摘要: 有时候需要清除一些数据,但是总会有一些外键关联多加阻拦,下面是一些外键关联查询,方便更快捷有效的查询到需要处理的外键信息。 一、外键信息 查询列从左到右分别是: 外键约束名,子表名,外键列名,父表名 --外键信息 select fk.name fkname , ftable.name ftablen 阅读全文
posted @ 2021-09-16 11:10 dexin 阅读(1391) 评论(0) 推荐(0) 编辑
摘要: 什么是SFTP,公开键认证,SFTP可不是FTP协议的扩展,他是基于SSH的文件传输协议。 而当SFTP服务器登录有客户端的公开键时,客户端就可以用自己的私有键去跟服务器握手(handshake)已实现登录而不需要输入密码。而这种方式被称为公开键认证。 1 建SFTP服务器 首先当然是先建一个loc 阅读全文
posted @ 2021-09-16 10:53 dexin 阅读(1564) 评论(0) 推荐(0) 编辑
摘要: 方法1:1.将所有需要合并的TXT整理到一个文件夹中,切记,TXT合并最好每个TXT内容头或尾留一行间距,因为合并是直接合并,不会保留间距。 2.使用Windows命令cmd,切换到文件所在文件夹 3.输入 type *.txt.>>d:\txtmerge\111.txt 命令,然后就得到了一个合并 阅读全文
posted @ 2021-09-16 10:50 dexin 阅读(3354) 评论(0) 推荐(0) 编辑
摘要: C# 导出Excel 1 //导出Excel 2 private void ExportExcel(string fileName, System.Data.DataTable myDGV, string title) 3 { 4 string saveFileName = ""; 5 System 阅读全文
posted @ 2021-09-13 10:43 dexin 阅读(584) 评论(0) 推荐(0) 编辑
摘要: 1 public string Post(string Url, string jsonParas) 2 { 3 string strURL = Url; 4 //创建一个HTTP请求 5 HttpWebRequest request = (HttpWebRequest)WebRequest.Cre 阅读全文
posted @ 2021-09-13 10:38 dexin 阅读(4624) 评论(0) 推荐(0) 编辑
摘要: 使用oledb读写excel出现“操作必须使用一个可更新的查询”的解决办法 转自:http://www.cnblogs.com/Richinger/archive/2008/09/28/1301170.html 前两天使用oledb连接excel的办法为单位某部门从一个excel的多个sheet中作 阅读全文
posted @ 2017-11-13 09:07 dexin 阅读(1026) 评论(0) 推荐(0) 编辑
摘要: 整体代码如下: using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Text;using Syste 阅读全文
posted @ 2017-09-15 10:14 dexin 阅读(1970) 评论(0) 推荐(0) 编辑
摘要: 一个DataGridView控件和4个Button using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using Syste 阅读全文
posted @ 2017-09-15 10:10 dexin 阅读(4954) 评论(0) 推荐(0) 编辑