Hi,
Thank you,
Romain.
Hi,
Hi Romain,
Hi,
Hi Romain,
Hi Babar,
Hi Romain,
Hi again,
This is to inform you that we have completed the investigation on the problem logged earlier as CELLSNET-43942. Please note that the problem is caused due to the reason that you are clearing the WebWorksheet collection before importing the spreadsheet into the GridWeb component, that isn’t recommended. Please comment out the statement as follow and give the scenario another try.
C#
private void LoadData(string savePath)
{
// Clears datasheets first.
//GridWeb1.WebWorksheets.Clear();
// Imports from a excel file.
GridWeb1.WebWorksheets.ImportExcelFile(savePath);
}
Hi Babar,
Hi Romain,
The project has not been updated except the line GridWeb1.WebWorksheets.Clear(); that I have commented.
Hi Romain,
Thank you very much, it works as expected
Hi,
Thanks for your feedback and using Aspose.Cells.
It is good to know that your issue is resolved with given code. Let us know if you encounter any other issue, we will be glad to look into it and help you further.