<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
<Nullable>disable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
</PropertyGroup>
双击项目,改为disable就可以了。
标签:Core,String,System,Unable,type,DBNull From: https://www.cnblogs.com/wjx-blog/p/17232577.html