Hi,
Hi thank you for your modification.I changed my code.
But the other problem is continue.I changed my code to
if (extention.ToLower() == ".xlsx")
{
workbook.Save(su.MapPath("../../QDMSFiles/TEMPFOL/") + tempFileName, Aspose.Cells.SaveFormat.Xlsx);
}
But the error mesage is the same.
I'm using this codes;
workbook.Open(su.MapPath("../../QDMSFiles/TEMPFOL/") + tempFileName);
foreach (Worksheet sheet in workbook.Worksheets)
{
sheet.Replace("", bsat001.ADI + " " + bsat001.SOYADI);
sheet.Replace("", bsat001.SICIL_NO);
sheet.Replace("", DateTime.Today.ToShortDateString());
sheet.Replace("", DateTime.Today.ToString());
}
workbook.FileName = tempFileName;
if (extention.ToLower() == ".xlsx")
workbook.Save(su.MapPath("../../QDMSFiles/TEMPFOL/") + tempFileName,Aspose.Cells.SaveFormat.Xlsx);
else
workbook.Save(su.MapPath("../../QDMSFiles/TEMPFOL/") + tempFileName);
Is there any wrong thing?