摘要: [一篮饭特稀原创,转载请注明出自http://www.cnblogs.com/wanghafan/p/3228240.html] 1 using System; 2 using System.Data; 3 using System.IO; 4 using System.Windows.Forms; 5 using Excel = Microsoft.Office.Interop.Excel; 6 using System.Collections.Generic; 7 8 namespace PlaneExcel 9 { 10 static class Expor... 阅读全文
posted @ 2013-07-31 17:13 一篮饭特稀 阅读(287) 评论(0) 推荐(0) 编辑
摘要: [一篮饭特稀原创,转载请注明出自http://www.cnblogs.com/wanghafan/p/3227351.html] 1 private void ChangBackColor() 2 { 3 if (dataGridView1.Rows.Count > 0) 4 { 5 foreach (DataGridViewRow row in dataGridView1.Rows) 6 { 7 if (row.Cells["列名"].Value.ToString() == "条件") 8 { 9... 阅读全文
posted @ 2013-07-31 11:18 一篮饭特稀 阅读(3339) 评论(0) 推荐(0) 编辑