2012年8月21日
摘要: public static void ToExcelSheet(DataSet ds, string fileName) { //int testnum = ds.Tables.Count-1; SaveFileDialog saveDialog = new SaveFileDialog(); saveDialog.DefaultExt = "xls"; saveDialog.Filter = "Excel文件|*.xls"; saveDialog.FileName = fileName; saveDialog.ShowDialog(); fileNam 阅读全文
posted @ 2012-08-21 11:37 爱搁浅 阅读(4981) 评论(1) 推荐(0) 编辑