我将 Report Viewer 用于我的 ASP.net 应用程序的报告目的。问题是,当我的表中的数据少于 50 个字符(DB 是 SQL Server)报告工作正常但是当数据超过 50 个字符时,它会给出错误,
An error has occurred during report processing.
Cannot create a connection to data source 'DataSet1'.
Exception has been thrown by the target of an invocation.
Failed to enable constraints. One or more rows contain values violating non-null, unique, or foreign-key constraints.
我无法解决问题,请帮助提前谢谢