Excel has a specific Date Format of YYYY-MM-DD followed by ![]() if the number of rows is > 64000 create a new page to continue outputĮxcelDoc.Write("") //ID=" rowCount " StreamWriter excelDoc = new StreamWriter(excelPath) Ĭonst string startExcelXML = "\r\n\r\n \r\n " ĮxcelDoc.Write() įoreach (DataRow x in ) String excelPath = (String.Format(".xml", ConfigurationManager.AppSettings, DateTime.Now, fileName)) Public static void exportToExcel(DataSet source, string fileName)
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |