欢迎加我的QQ群:193522571,一起来讨论、交流!

03 2016 档案

摘要:进行一番测试后发现KeyUp可以用,非常不理解 阅读全文
posted @ 2016-03-29 21:38 swtool 阅读(417) 评论(0) 推荐(0) 编辑
摘要://【03-27-16 04:17PM 129536 acbt 4 mgd.dll】替换成【acbt 4 mgd.dll】 string fileName = System.Text.RegularExpressions.Regex.Replace(fileInfo, @"^\d.*M *\d* * 阅读全文
posted @ 2016-03-29 21:36 swtool 阅读(1099) 评论(0) 推荐(0) 编辑
摘要:lbl.Font = new System.Drawing.Font(new FontFamily("黑体"), 12.0F, FontStyle.Bold); 阅读全文
posted @ 2016-03-29 19:55 swtool 阅读(449) 评论(0) 推荐(0) 编辑
摘要:最近在做一个程序,需要实现窗口下的F5 刷新功能。 研究了一下KeyDown,KeyPress 和KeyUp ,发现之间还是有点学问的。 让我们带着如下问题来说明,如果你看到这些问题你都知道,那么这篇文章你就当复习吧:) 1.这三个事件的顺序是怎么样的? 2.KeyDown 触发后,KeyUp是不是 阅读全文
posted @ 2016-03-29 16:06 swtool 阅读(1120) 评论(0) 推荐(0) 编辑
摘要:当CAD图形中无法进行复制、粘贴时,请将此DWG另存一下或许就可以了 阅读全文
posted @ 2016-03-25 16:13 swtool 阅读(503) 评论(0) 推荐(0) 编辑
摘要:原来是要安装MySQL的驱动 下载地址:http://dev.mysql.com/downloads/connector/net/ 支持32/64bit 阅读全文
posted @ 2016-03-23 14:15 swtool 阅读(1906) 评论(0) 推荐(0) 编辑
摘要:很感谢creativepeter(头皮屑)提供的本连接地址(http://www.connectionstrings.com/) Read more about connecting to Interbase in this Borland Developer Network article htt 阅读全文
posted @ 2016-03-23 13:11 swtool 阅读(2496) 评论(0) 推荐(0) 编辑
摘要:1.获取所有数据库名 --SELECT Name FROM Master..SysDatabases ORDER BY Name -- 2.获取所有表名: --SELECT Name NAMEtemp,* FROM TEST..SysObjects Where XType='U' ORDER BY 阅读全文
posted @ 2016-03-22 13:03 swtool 阅读(2682) 评论(0) 推荐(0) 编辑
摘要:this.WindowState = FormWindowState.Normal; this.FormBorderStyle = FormBorderStyle.Sizable; this.Top = 0; this.Left = 0; this.Width = Screen.PrimaryScreen.WorkingArea.Wid... 阅读全文
posted @ 2016-03-21 15:51 swtool 阅读(3041) 评论(0) 推荐(0) 编辑
摘要:1 public class FtpHelper 2 { 3 string ftpServerIP; 4 string ftpRemotePath; 5 string ftpUserID; 6 string ftpPassword; 7 string ftpURI; 8 /// 9 /// 连... 阅读全文
posted @ 2016-03-20 21:38 swtool 阅读(1103) 评论(0) 推荐(0) 编辑
摘要:http://www.360doc.com/content/13/0728/16/286397_303156680.shtml 阅读全文
posted @ 2016-03-19 22:59 swtool 阅读(248) 评论(0) 推荐(0) 编辑
摘要:if (TargetFileInfo.FullName.Contains("\\\\")) { directory = TargetFileInfo.Directory.FullName.Replace("\\\\", ""); isServerFolder = true; } TargetFile 阅读全文
posted @ 2016-03-18 10:24 swtool 阅读(211) 评论(0) 推荐(0) 编辑
摘要:以下是直接从代码中复制出来的 Data Source=192.168.2.1\\SQLEXPRESS;Initial Catalog=DesignSystem;Persist Security Info=True;User ID=sa;Password=******** 而正确的应该是 Data S 阅读全文
posted @ 2016-03-16 09:11 swtool 阅读(152) 评论(0) 推荐(0) 编辑
摘要:在C#中,如果要删除DataTable中的某一行,大约有以下几种办法: 1。使用DataTable.Rows.Remove(DataRow),或者DataTable.Rows.RemoveAt(index);可以直接删除行 2。datatable.Rows[i].Delete()。 Delete() 阅读全文
posted @ 2016-03-10 16:30 swtool 阅读(205) 评论(0) 推荐(0) 编辑
摘要:DataRow dr = dtNow.NewRow(); dr.ItemArray = dtNow.Rows[rowIndex].ItemArray; 阅读全文
posted @ 2016-03-10 15:39 swtool 阅读(687) 评论(0) 推荐(0) 编辑
摘要:private DataTable SwapRow(int index1,int index2,DataTable dt) { DataRow dr=dt.NewRow(); dr.ItemArray=dt.Rows[index1].ItemArray; dt.Rows[index1].ItemAr 阅读全文
posted @ 2016-03-06 10:12 swtool 阅读(852) 评论(0) 推荐(0) 编辑
摘要:参考:http://blog.csdn.net/soarheaven/article/details/3267379 1.界面准备 (1)首先在form中添加一个DataGridView控件,将默认AllowDrop=false 的属性设置为True,否侧不能拖动! (2)对DataGridView 阅读全文
posted @ 2016-03-06 08:50 swtool 阅读(4815) 评论(0) 推荐(0) 编辑
摘要:Pgp文件中不但可以编辑系统命令,也可以编辑自定义的命令,如果有重复的,后面自动覆盖前面的。 阅读全文
posted @ 2016-03-04 11:16 swtool 阅读(219) 评论(0) 推荐(0) 编辑
摘要:MySQL / SQL Server / Oracle / MS Access的sql语句联系区别总结 各数据库的sql语句差别 1.取前几条数据 MySQL 语法 SELECT * FROM Persons LIMIT 5 Oracle 语法 SELECT * FROM Persons WHERE 阅读全文
posted @ 2016-03-03 16:33 swtool 阅读(1469) 评论(0) 推荐(0) 编辑

欢迎加我的QQ群:193522571,一起来讨论、交流!
点击右上角即可分享
微信分享提示