Could not load view: DataProxy returned an error (Data transformation failed.TypeError: sequence item 0: expected string or Unicode, int found) 当我试图可视化数据类型为int的excel文件时,数据资源管理器抛出了这个错误你可以自己在here上看到这个错误。
每次查询执行"ToList()“时,我都会得到上面的错误。<Error><ExceptionMessage>
The cast to value type 'Int32' failed because the materialized value isordinal) at System.Data.Common.Internal.Materialization
所以我在Visual Studio2015中使用本地数据库(.mdf)。一开始,我很难连接到数据库,但现在据我所知,它正在连接。我正在使用INSERT将数据添加到数据库中,我还有一个变量告诉我,一旦用户单击“保存”按钮,是否有任何行受到影响,但每次它显示成功时,我检查数据库,但没有任何内容。关于这个答案,我在Google上搜索了很多次,每个人都说使用SQL Server Management Studio来创建数据库,并为数据