06 2014 档案

摘要:public void ExportDataToExecel(DataGridView dataGridView1){ SaveFileDialog kk = new SaveFileDialog(); kk.Title = "保存EXECL文件"; ... 阅读全文
posted @ 2014-06-12 15:32 慧由心生 阅读(591) 评论(0) 推荐(0) 编辑
摘要:[DllImport("user32.dll", EntryPoint = "GetScrollInfo", CallingConvention = CallingConvention.StdCall)] public static extern bool GetScr... 阅读全文
posted @ 2014-06-11 17:36 慧由心生 阅读(4314) 评论(0) 推荐(0) 编辑
摘要:string strConn; strConn = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" + filePath + ";Extended Properties='Excel 8.0;HDR=F... 阅读全文
posted @ 2014-06-10 15:00 慧由心生 阅读(393) 评论(0) 推荐(0) 编辑
摘要:1、检查数据库连接的有效性 var client = new System.Net.Sockets.TcpClient(); var ar = client.BeginConnect(host, 1433, null, null); ar.AsyncWaitHandle.WaitOn... 阅读全文
posted @ 2014-06-10 14:54 慧由心生 阅读(8995) 评论(1) 推荐(0) 编辑
摘要:using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace ConsoleApplication1 { /// /// 公用的特殊函数 /// public class SpecialFunctions { ... 阅读全文
posted @ 2014-06-06 17:13 慧由心生 阅读(17283) 评论(0) 推荐(4) 编辑

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