摘要:
publicstaticvoidExportToExcel(DataSetdataSet,stringfileName){try{stringsaveFileName=string.Empty;SaveFileDialogsaveDialog=newSaveFileDialog();saveDialog.DefaultExt="xls";saveDialog.Filter="Excel文件|*.xls";saveDialog.FileName=fileName;saveDialog.ShowDialog();saveFileName=saveDialog 阅读全文