我想Sqlite
在我的Aspx
项目中使用64位.当我运行该项目时,我收到以下错误:
无法加载文件或程序集"System.Data.Sqlite"或其依赖项之一.尝试加载格式不正确的程序.
我甚至设置Enable 32-Bit Aplications
来True
解决该问题,但问题仍然存在.我在用.Net 4 Framework
.我甚至下载64-bit SQlite .dll
并将其包含在我的项目中,但它仍然无法解决我的问题.我该怎么做才能解决这个问题?
因为我无法发布图像.我发布了错误日志
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.BadImageFormatException: Could not load file or assembly 'System.Data.SQLite' or one of its dependencies. An attempt was made to load a program with an incorrect format. …
Run Code Online (Sandbox Code Playgroud) 我只是学习lambda表达式,我想使用lambda表达式来选择任何特定的项目.在这里,我想选择一个key = 1的人,以便selectedOne ="sanjay"
var people = new Dictionary<int, string>();
people.Add(1, "sanjay");
people.Add(2, "roshan");
people.Add(3, "neejesh");
people.Add(4, "deep");
var selectedOne = people.Select(x => x.Key == 1);
Run Code Online (Sandbox Code Playgroud)
我应该如何构建我的lambda查询?
谢谢!