摘要: publicstaticboolDataTableToExcel(System.Data.DataTabledt,stringfileName,boolshowFileDialog=false){if(showFileDialog){SaveFileDialogsaveFileDialog=newSaveFileDialog();saveFileDialog.Filter="Execlfiles(*.xls)|*.xls";saveFileDialog.FilterIndex=0;saveFileDialog.RestoreDirectory=true;saveFileDi 阅读全文
posted @ 2013-08-28 10:01 跟着阿笨一起玩.NET 阅读(398) 评论(0) 推荐(0) 编辑