摘要:
内连接查两张表 from oo in query join comany in _companyRepository.GetAll() on oo.OfflineOrder.CompanyId equals comany.Id where comany.IsFamous select oo; Lam 阅读全文
摘要:
C#面试问题集锦 阅读全文
摘要:
通过服务器处理高并发 调整服务器IIS设置 调整IIS 7应用程序池队列长度,由原来的默认1000改为65535。 调整IIS 7的appConcurrentRequestLimit设置 调整machine.config中的processModel>requestQueueLimit的设置 修改注册 阅读全文
摘要:
//文件转换为字节 public static byte[] File2Bytes(string path) { if (!System.IO.File.Exists(path)) { return new byte[0]; } FileInfo fi = new FileInfo(path); b 阅读全文
摘要:
WITH(NOLOCK)用法select * from( SELECT case sa.ActivityTimeType when 1 then sc.EndDate else sa.EndDate end as EndDate, sa.BeginDate, si.Sort, case si.Sec 阅读全文
摘要:
VipTypeNames 会循环调用,导致栈溢出 阅读全文
摘要:
minDate:最小时间 maxDate:最大时间 <input type="hidden" id="minDateVal" value="@ViewBag.beginDate" /> <input id="input_beginDate" type="text" value="@ViewBag.b 阅读全文
摘要:
using System;using System.Collections.Generic;using Quartz;using Quartz.Core;using Quartz.Impl;using Quartz.Impl.Triggers;using Kmmp.Core.Models; name 阅读全文
摘要:
select Date,ISNULL(NewFans,0) NewFans,ISNULL(NewMembers,0) NewMembers, ISNULL(NewBinds,0) NewBinds, ISNULL(Recharges,0) Recharges, ISNULL(Consume,0) C 阅读全文
摘要:
/// 取得某月的第一天 /// </summary> /// <param name="datetime">要取得月份第一天的时间</param> /// <returns></returns> private DateTime FirstDayOfMonth(DateTime datetime) 阅读全文