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

10 2017 档案

摘要:using System.Windows.Media; 1、String转换成Color Color color = (Color)ColorConverter.ConvertFromString(string); 2、String转换成Brush BrushConverter brushConve 阅读全文
posted @ 2017-10-25 14:57 swtool 阅读(427) 评论(0) 推荐(0) 编辑
摘要:/// <summary> /// /// 应用程序的主入口点。 /// /// 增加容器控件定义 /// TableLayoutPanel tlp = new TableLayoutPanel(); /// bool is***Load = false; /// PipeLength pipeLe 阅读全文
posted @ 2017-10-19 11:14 swtool 阅读(153) 评论(0) 推荐(0) 编辑
摘要:1.在dgv中进行增加、删除、修改行时应针对dt进行操作,然后刷新xml 2.datagridview中的currentrow未必就是当前选中行 3.inputbox类 4.按excel vba中的公式evaluate计算 5.上项中错误返回的意义 //-2146826281 =#DIV / 0! 阅读全文
posted @ 2017-10-19 11:00 swtool 阅读(231) 评论(0) 推荐(0) 编辑
摘要:foreach (string name in zWidthNameList) { DataGridViewColumn dgvc = this.Columns[name]; dgvc.AutoSizeMode = DataGridViewAutoSizeColumnMode.Fill; //当采用 阅读全文
posted @ 2017-10-19 10:38 swtool 阅读(221) 评论(0) 推荐(0) 编辑
摘要:1. 增加字段说明 EXEC sp_addextendedproperty 'MS_Description', 'some description', 'user', dbo, 'table', table_name, 'column', column_name Some Description , 阅读全文
posted @ 2017-10-15 16:48 swtool 阅读(2263) 评论(0) 推荐(0) 编辑

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