01 2015 档案
摘要://判断RName 这一列是否有重复的值 for (int i = 0; i < dt.Rows.Count; i++) { for (int j = i + 1; j < dt.Rows.Count; j++) ...
阅读全文
摘要:/// /// DataGridView显示行号 /// /// /// private void dataGridWebResourceView_RowPostPaint(object sender, Data...
阅读全文
摘要:ResXResourceReader resxr = new ResXResourceReader(txt_WebResourceOpenFile.Text); IEnumerable rrt = from DictionaryEntry d in re...
阅读全文
摘要:1、设置 RowPostPaint 为true 2、启用RowPostPaint事件 /// <summary> /// DataGridView显示行号 /// </summary> /// <param name="sender"></param> /// <param name="e"></p
阅读全文
摘要:C#中如何防止Excel做科学计算法转换 stringstyle=@"";//注意这是样式,不需要修改可直接使用Response.Clear();Response.Buffer=true;Response.Charset="utf-8";Response.AppendHeader("C...
阅读全文