asp .net
大师蛋生记
我就是我,不一样的烟火。
展开
-
中控指纹仪 后台比对小结
C#添加引用需要这个dll本身是.net的程序集,或者是一个COM组件。如果是一个标准的C导出Dll,那么需要用DllImport导入函数,参考互操作内容publicclassFingerAPI{ [DllImport("Match.dll")] publicstaticexternboolprocess(stringARe...原创 2017-12-28 11:17:33 · 2396 阅读 · 0 评论 -
linq的左连接右连接内连接用法
1、左连接: var LeftJoin = from e in ListOfEmployeesjoin d in ListOfDepartmenton e.DeptID equals d.ID into JoinedEmpDeptfrom d in JoinedEmpDept.DefaultIfEmpty()select new转载 2017-12-28 11:20:51 · 686 阅读 · 0 评论 -
EF 5.x & SQL 2000 & VS2010 & EF 6.0
you can use EF 6.x for SQL Server 2000, I'm using this for SQL Server 2000 without any problems. But your should set something in your .edmx file of your model. Open your model .edmx file with notep转载 2017-12-28 11:19:09 · 456 阅读 · 0 评论 -
使用的 SQL Server 版本不支持数据类型“datetime2”解决办法
错误原因,在使用ado.net entity的时候,entity使用的数据库是sqlserver 2008,但后来实际使用中使用的数据库是sqlserver 2005使用的 SQL Server 版本不支持数据类型“datetime2”The version of SQL Server in use does not support datatype ‘datetime2解决办法转载 2017-12-28 11:18:42 · 1507 阅读 · 0 评论 -
The entity cannot be constructed in a LINQ to Entit
public IQueryable GetProducts(int categoryID){ var productList = db.Products .Where(p => p.CategoryID == categoryID) .ToList() .Select(item =>转载 2017-12-28 11:18:07 · 687 阅读 · 0 评论 -
IIS7报错:如果要使用托管的处理程序,请安装 ASP.NET
windows7部署在本地的IIS7里以后,结果不能访问承载SL的.aspx页面,而如果用.html承载则可以访问。进入CMD 输入如下命令即可"%WINDIR%\Microsoft.NET\Framework\v4.0.30319\aspnet_regiis.exe" -iru -enable转载 2017-12-28 11:14:53 · 616 阅读 · 0 评论