Fork me on GitHub
上一页 1 2 3 4 5 6 ··· 9 下一页
摘要: Bundles用于打包CSS和javascript脚本文件,优化对它们的组织管理。显示模式则允许我们为不同的设备显示不同的视图。减少请求数量和带宽,当然在开发调试时一般不开启。 阅读全文
posted @ 2015-06-12 17:05 乔闻 阅读(111) 评论(0) 推荐(0) 编辑
摘要: 什么是Entity Framework? ado.net entity framework 是微软以ado.net为基础所发展出来的 对象关系对象(O/R Mapping)解决方案什么是ORM?Entity Framework使用场景各个版本框架开源地址:http://entityframewor... 阅读全文
posted @ 2015-06-09 09:42 乔闻 阅读(395) 评论(1) 推荐(0) 编辑
摘要: class Program { static void Main(string[] args) { //扩展方法 语法糖 谨慎使用 int[] ints = { 10, 45, 15, 39, 21, 26 }; ... 阅读全文
posted @ 2015-06-08 16:15 乔闻 阅读(378) 评论(0) 推荐(0) 编辑
摘要: //Linq:language Intergarted Query 语言整合查询 //select * from tb_name //条件必须实现IEnumerable接口 //Linq to SQL,Linq to Xml ,Lin... 阅读全文
posted @ 2015-06-08 15:05 乔闻 阅读(316) 评论(0) 推荐(0) 编辑
摘要: static void Main(string[] args) { Lamda(); Console.ReadLine(); } delegate int del(int i); private st... 阅读全文
posted @ 2015-06-08 11:27 乔闻 阅读(148) 评论(0) 推荐(0) 编辑
摘要: 所有用到委托的地方都可以用到匿名方法主线程static void Main(string[] args) { StartTread(); Console.ReadLine(); } private static v... 阅读全文
posted @ 2015-06-08 11:12 乔闻 阅读(160) 评论(0) 推荐(0) 编辑
摘要: 字母:数字单个数字\d非数字\D字符边界 \b任意字符 .字符点 \.或[abc]:匹配 a 或b 或c 都能匹配重复多次 c{2} 匹配两个c重复多次(范围) b{2,3} 匹配重复2到3次b重复多次(0-多次) b* 匹配 0个到多个b重复多次(1-多次) b+ 匹配 1个到多个b匹配单个 ... 阅读全文
posted @ 2015-06-05 16:41 乔闻 阅读(227) 评论(0) 推荐(0) 编辑
摘要: 在编译之前进行的处理。预处理命令以符号“#”开头。#define 只能定义符号 不能定义宏(#define PI 3.14 这是错的,在c#中没宏)#region #endregion#if #end if#define MyDebug#undef MyDebug#define MyTrace#if... 阅读全文
posted @ 2015-06-05 14:36 乔闻 阅读(234) 评论(0) 推荐(0) 编辑
摘要: 反射是为了程序在运行时程序能获取到一些关于程序集(assembly),class,method,property的一些信息的 这样的机制反射相当于一种进程,这种进程可以修改自己机构和行为的一种能力.string s = "Hello Reflection"; Type t = ... 阅读全文
posted @ 2015-06-05 10:54 乔闻 阅读(136) 评论(0) 推荐(0) 编辑
摘要: 自定义特性class Program { static void Main(string[] args) { Console.ReadLine(); } } [AttributeUsage(AttributeTarge... 阅读全文
posted @ 2015-06-05 09:03 乔闻 阅读(145) 评论(0) 推荐(0) 编辑
摘要: 使用临时变量:有人会问只使用两个变量交换,怎么办?不实用临时变量:第一种:a=a+b;b=a-b;a=a-b;第二种:异或:相同是0,不同是1上面是整型的,那么字符串可以直接异或吗?c#不行的.字符串类型:第一种(有临时变量)不好 string af = "123", bf =... 阅读全文
posted @ 2015-06-04 15:31 乔闻 阅读(523) 评论(0) 推荐(0) 编辑
摘要: 子类必须显示调用构造函数 阅读全文
posted @ 2015-06-04 13:51 乔闻 阅读(126) 评论(0) 推荐(0) 编辑
摘要: 泛型在Class上的实现class Program { //提高数据重用性 int,string,char,... //类型安全 //性能较好 static void Main(string[] args) { ... 阅读全文
posted @ 2015-06-04 09:28 乔闻 阅读(194) 评论(0) 推荐(0) 编辑
摘要: 语法代码class Program { static void Main(string[] args) { var e = new EventTest(5); e.SetValue(100); e.C... 阅读全文
posted @ 2015-06-03 10:10 乔闻 阅读(237) 评论(0) 推荐(0) 编辑
摘要: 委托理解起来就想c++ 函数指针我的理解为 : 方法的快捷方式 delegate int AddNumDelegate(int n); class Program { static void Main(string[] args) { ... 阅读全文
posted @ 2015-06-02 16:23 乔闻 阅读(195) 评论(0) 推荐(0) 编辑
摘要: 如果类是静态的 那 成员必须是静态的如果类不是静态的 那成员可以是静态的也可以不是调用静态成员可以不声明类 直接调用class Program { static void Main(string[] args) { Console.WriteL... 阅读全文
posted @ 2015-06-02 16:14 乔闻 阅读(153) 评论(0) 推荐(0) 编辑
摘要: 1 using System; 2 using System.Collections.Generic; 3 using System.Linq; 4 using System.Text; 5 using System.Threading.Tasks; 6 7 namespace ConsoleA... 阅读全文
posted @ 2015-06-02 15:23 乔闻 阅读(178) 评论(0) 推荐(0) 编辑
摘要: 先通过流程设计器设计流程注意审批:1个人会签: 多人用同意时: 若为有一个同意就通过 则 审批选项卡 的同意出口 设为1 如果需要所有人同意才通过 则审批选项卡 的同意出口 设为100%开始或者结束时可能有业务操作调用webservice后台取组织机构人员Organization.Unit ... 阅读全文
posted @ 2015-06-02 10:57 乔闻 阅读(769) 评论(0) 推荐(0) 编辑
摘要: $('#gridList').datagrid('getData').rows.length 阅读全文
posted @ 2015-05-27 12:35 乔闻 阅读(714) 评论(0) 推荐(0) 编辑
摘要: $(".combo-text").click(function () { var mid = $(this).parent().parent().find("select").attr("id"); $("#" + mid).combobo... 阅读全文
posted @ 2015-05-26 21:02 乔闻 阅读(714) 评论(0) 推荐(0) 编辑
摘要: vertical-align:text-bottom; 阅读全文
posted @ 2015-05-26 19:46 乔闻 阅读(888) 评论(0) 推荐(0) 编辑
摘要: test content goes here 阅读全文
posted @ 2015-05-25 10:01 乔闻 阅读(718) 评论(0) 推荐(0) 编辑
摘要: 文本编辑器:Consolas环境字体:微软雅黑 阅读全文
posted @ 2015-05-21 17:19 乔闻 阅读(153) 评论(0) 推荐(0) 编辑
摘要: 格式: (function(){ //代码 })();解释:这是相当优雅的代码(如果你首次看见可能会一头雾水:)),包围函数(function(){})的第一对括号向脚本返回未命名的函数,随后一对空括号立即执行返回的未命名函数,括号内为匿名函数的参数。来个带参数的例子: (function(arg)... 阅读全文
posted @ 2015-05-14 15:30 乔闻 阅读(250) 评论(0) 推荐(0) 编辑
摘要: http://blog.csdn.net/luck901229/article/details/8261640 阅读全文
posted @ 2015-05-12 15:37 乔闻 阅读(139) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 ··· 9 下一页