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