Unity 把Excel中的用户数据转换成Json文本
Juke King:
为什么我的getstring()会报InvalidCastException: Specified cast is not valid.
ExcelDataReader.ExcelDataReader`2[TWorkbook,TWorksheet].GetString (System.Int32 i) (at :0)
AddInFomation.ReadExcelData (Datas data, System.String excelpath) (at Assets/Scripts/liaoScripts/StuManager/AddInFomation.cs:524)
AddInFomation.Upload () (at Assets/Scripts/liaoScripts/StuManager/AddInFomation.cs:502)
UnityEngine.Events.InvokableCall.Invoke () (at :0)
UnityEngine.Events.UnityEvent.Invoke () (at :0)
UnityEngine.UI.Button.Press () (at ./Library/PackageCache/[email protected]/Runtime/UI/Core/Button.cs:70)
UnityEngine.UI.Button.OnPointerClick (UnityEngine.EventSystems.PointerEventData eventData) (at ./Library/PackageCache/[email protected]/Runtime/UI/Core/Button.cs:114)
UnityEngine.EventSystems.ExecuteEvents.Execute (UnityEngine.EventSystems.IPointerClickHandler handler, UnityEngine.EventSystems.BaseEventData
|