DtatTable 在命名空间System.Data下,NetCore2.0及以上支持.但是2017DataTable没有可视化工具,我也没有深研究直接下载的VS2019.然后在网上早了个SQLHelper直接用上了. 示例代码:https://github.com/TengshengHou/NetCoreSample/tree/master/SQLHelperDemo SQLHelper public class SQLHelper { IConfiguration _configuratio