Hi,
We use Infragistic excel library (Infragistics.Documents.Excel) to read excel documents and load them in Ultragrid. One of our clients extract data from their system into a csv file, do some formatting in Excel and then import the excel document in our application.
We have discovered that when importing these documents in Ultragrid, there are some invalid characters “_x000D_” included in the text.
I'm pin pointed the problem to this line of code where we get the cell value
object cellValue = myWorkbook.Worksheets[aWorkSheet].Rows[rowIndex].Cells[columnIndex].Value;
During debug, I see the following value in variable “cellValue”.
cellValue "Partly_x000D_\r\n_x000D_\r\n*\tOnce again, [..y._x000D_\r\n*\tHowever, the proposed new guidelines are sometimes too unspecific.The required disclosures should be clarified in a more concise manner.\r\n" object {string}
Could you suggest how to get rid of these (and potentially) any other invalid characters.
I've attached a sample excel document that can be used to reproduce the problem.
Regards,
Harman
Hello Harman,
Thanks for attached excel file. I try to reproduce your issue using your excel file, but without success. Everything works properly. Could you please tell us what is your current version and do you have any installed service release and which one. Also could you please take a look at the attached video file and let me know if you think that I didn`t reproduce your scenario.
Feel free to write me if you have any questions.
Regards
Here is the video file
Hello Georgi,
Many thanks for your quick response. At the moment we are using Infragistics NetAdvantage WinClient 2011 Vol 1 (Infragistics3.Documents.Excel.v11.1.dll), but I can confirm that the issue doesn't exist in v2012 Vol 2.
We will plan to upgrade our version.
Thanks once again.