摘要:
name: 'myac', width:80, fixed:true, sortable:false, resize:false, formatter:'actions',formatoptions:{keys:true}},jQuery("#cmtmpl").jqGrid('navGrid','#pcmtmpl',{edit:false,add:false,del:false});<!--StartFragment--><br /><a href="#" id 阅读全文
摘要:
http://stackoverflow.com/questions/348785/crystal-reports-in-asp-net-mvchttp://stackoverflow.com/questions/668328/how-to-render-active-reports-webviewer-in-asp-net-mvchttp://stackoverflow.com/questions/6144513/how-can-i-use-a-reportviewer-control-in-an-asp-net-mvc-3-razor-viewhttp://blog.csdn.net/ch 阅读全文
摘要:
System.Linq.Expressions.Expression<Func<mcs_user, bool>> expr1 = u => u.email_address == email; var user = GetFirst(expr1); Func<mcs_user, bool> expr2 = u => u.email_address == email; var user1 = GetFirst1(expr2); var user = GetFirst(u => u.email_address == email); return 阅读全文
摘要:
Autofachttp://www.cnblogs.com/hbq-fczzw/archive/2012/03/21/2410705.html中文版http://code.google.com/p/autofac/wiki/Mvc3Integration 英文版Tip 45 – How to swap EF metadata at runtime.http://blogs.msdn.com/b/alexj/archive/2009/11/29/tip-45-how-to-swap-ef-metadata-at-runtime.aspx 阅读全文
摘要:
create user mcs identified by sagrant connect,resource,dba to sa;imp sa/123123@dbname full=y file=e:\1.dmp ingore=yprism http://www.cnblogs.com/prolove2/archive/2012/03/28/2422401.html 阅读全文
摘要:
cookie http://afana.me/post/session-less-controllers-and-TempData-ASPNET-MVC.aspxtempdata http://rachelappel.com/when-to-use-viewbag-viewdata-or-tempdata-in-asp.net-mvc-3-applications http://msdn.microsoft.com/en-us/library/dd394711.aspxAuthorizationhttp://blogs.msdn.com/b/rickandy/archive/2011/05/0 阅读全文
摘要:
selecta,b,count(*)ascfromtgroupbya,b这语句用linq应该怎么写?vardata=fromtinlistgrouptbynew{t.a,t.b}intogselectnew{g.Key.a,g.Key.b,m=g.Count()}; 阅读全文
摘要:
using System;using System.Collections;using System.Configuration;using System.Data;using System.Web;using System.Web.Security;using System.Web.UI;using System.Web.UI.HtmlControls;using System.Web.UI.WebControls;using System.Web.UI.WebControls.WebParts;using iTextSharp.text;using System.IO;using iTex 阅读全文
摘要:
class Program { static void Main(string[] args) { int[] ints = new int[] { 1, 3, 5, 7, 9, 2, 4, 6, 8, 10 }; int k = ints.First(delegate(int o){ return o == 3; }); int kk1 = ints.Count(delegate(int o) { return o > 3; }); //int[] kk run(); } private static void run() { //Sort(ints, Asc); //Sort(i.. 阅读全文
摘要:
using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Data;using System.Configuration;using DataAcess;using Models;namespace Repository{ public interface IProductsRepository { IList<Product> GetProductsList(); } public class ProductsRepository : IProduc 阅读全文