c# - 当我连接数据库时发生异常-System.AccessViolationException
问题描述
当连接打开时,会发生此异常
代码是:--
SQLiteCommand cmd = new SQLiteCommand();
cmd.Connection = connection;
connection.Open();
Helper helper = new Helper(cmd);
helper.BeginTransaction();
解决方案
推荐阅读
- reactjs - React路由器返回特定页面?
- sql - PL/SQL:如何从多个表中删除行
- angular - 激活的路线没有找到我的 queryParams
- maven - 在 NetBeans IDE 8.2 上创建一个新的 Maven Web 应用程序项目出现此错误
- react-native - 如何在同级导航器中导航到两个屏幕?
- python - python TCP HolePunching 连接被拒绝
- azure-data-explorer - 如何访问 kusto 表中特定行号和特定列号的值?
- mysql - MySQL 别名在 CASE 语句的 ELSE 部分失败(错误代码:1054。“字段列表”中的未知列“xxx”)
- python - 我可以在不创建新列表/数组的情况下展平数组吗?
- firebase - 如何在 swiftUI 和 firestore 中创建愿望清单功能