摘要:
Inline Tabs New Tasks {{item.ti... 阅读全文
摘要:
<?xml version="1.0" encoding="utf-8" ?><nlog xmlns="http://www.nlog-project.org/schemas/NLog.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance 阅读全文
摘要:
最近有个需求涉及根据表名或者索引名字拿到文件分组名字SELECT'table_name'=OBJECT_NAME(i.id), i.indid,'index_name'=i.name, i.groupid,'filegroup'=f.name,'file_name'=d.physical_name,... 阅读全文
摘要:
public interface IRepository where TEntity : class { IQueryable Get( Expression> filter = null, Func, IOrderedQueryabl... 阅读全文
摘要:
To get thefirst day of the previous monthin SQL Server, use the following code:SELECT DATEADD(mm, DATEDIFF(mm, 0, GETDATE()) - 1, 0)To get thelast day... 阅读全文
摘要:
To get thefirst day of the previous weekin SQL Server, use the following code:SELECT DATEADD(wk,DATEDIFF(wk,7,GETDATE()),0)To get thelast day of the p... 阅读全文
摘要:
BEGIN tranCOMMIT tran ROLLBACK 阅读全文
摘要:
Home Page 阅读全文
摘要:
这里以Mvc3模版项目的登录页为例,简单说一下过程:首先准备资源文件,即语言包。为web site项目添加Resource文件夹,然后在Resource文件夹下添加两个resx文件命令行工具ResGen.exe将这两个resx文件生成同名的resources文件,如zh-CN.resources、e... 阅读全文
摘要:
returnRedirectToAction("MemberManager","Shop",new{id=Session["shopid"]});MemberManager:页面的Action;Shop:Controller名称;id:要传的参数名;Session["shopid"]:要传的参数! 阅读全文