摘要: 想用vs里面自带的方法解决DataGridView 列头经过 DisplayIndex 排序后的导出Excel, 使显示顺序和导出顺序一致,但是没有找到相应的方法,只好自己写了个private void DataDiaplayOrderToExcel(DataGridView ordgv,string title) { string[] array = new string[ordgv.Columns.Count]; //获取Visble =true 的列 foreach (DataGridViewColumn ... 阅读全文
posted @ 2011-11-21 14:24 爱睡的猫 阅读(1671) 评论(3) 推荐(1)