Debugging one for a friend over the past two daysProgramYou can use the aspose. Cells Control to open an Excel file.
It is strange that there is always an error when calling aspose. cells. Workbook. Open to open the file. The information is as follows:
The same worksheet name already exists.
Google fails because it only opens a single file and there are no repeated worksheet names.
If you change the default worksheet name "sheet1" to "sheet2", no error will be reported. If it is not "sheet1" or "sheet1 ", can be opened normally.
The suggested conclusion should be the version limitation of the control. The version used by friends is obviously not genuine, and the control of thousands of dollars won't be so basic joke, if you have time, try another version.
I learned how to restrict the use of non-genuine users, not only in terms of the use time limit, but also in terms of function restrictions in common use cases (the default table name for an Excel file is "sheet1 "), master...