07 2015 档案

摘要:分页查询:return this.GetDynamicListWithPaging(ParamQuery.Instance() .From("P_Resume") .AndWhere("AuditState", query["A... 阅读全文
posted @ 2015-07-31 16:06 oiliu 阅读(394) 评论(0) 推荐(0)
摘要:python笔记,写在前面:python区分大小写1、科学计数法,把10用e代替,1.23x10·9就是 1.23e9 或者 0.00012就是1.2e-42、转义字符 \ 或者 r''【相当于C#里的@】r代表 raw string里边的\不转义 要表示 \ 就要写成 \\ 换行符 可以用 '''... 阅读全文
posted @ 2015-07-31 10:21 oiliu 阅读(273) 评论(0) 推荐(0)
摘要:方法一:public int SaveJob(JObject data) { var formWrapper = RequestWrapper.Instance().LoadSettingXmlString(@" {0} ", "C_Jobs"); ... 阅读全文
posted @ 2015-07-29 16:26 oiliu 阅读(257) 评论(0) 推荐(0)
摘要:/**-- ============================================= Author: xftCteateDate: 2013-10-11Description:查看表的完整字段信息Remark:ModifyHistory:修改 添加了字段长度和标识等信息**/--... 阅读全文
posted @ 2015-07-24 09:58 oiliu 阅读(192) 评论(0) 推荐(0)
摘要:函数:jQuery.inArray(value,array,[fromIndex])解释: value:用于在数组中查找是否存在 array:待处理数组。 fromIndex:用来搜索数组队列,默认值为0。注意:区分参数类型例子:var m_31 = [1,3,5,7,8,10,12];var m_... 阅读全文
posted @ 2015-07-22 11:47 oiliu 阅读(373) 评论(0) 推荐(0)
摘要:源:http://www.cnblogs.com/cbcye/archive/2009/03/10/1407672.html 阅读全文
posted @ 2015-07-21 15:44 oiliu 阅读(185) 评论(0) 推荐(0)
摘要://个人理解:前台一个form加input[type='file'],在加一个submit的按钮 主要设置form的action,method,enctype='multipart/form-data' * file要指定 name要不后台Request不到额, 后台:Request.files[]... 阅读全文
posted @ 2015-07-20 15:09 oiliu 阅读(235) 评论(0) 推荐(0)
摘要:【如题】个人理解就是 你向传数据【josn格式】了,但是后台接受确不是json格式的 数据,贴段代码var strJson = '{ "usercode": "123", "password": "123"}'; $.ajax({ type: "POST", ... 阅读全文
posted @ 2015-07-16 14:45 oiliu 阅读(1399) 评论(0) 推荐(0)
摘要:原文链接:http://www.asp.net/mvc/overview/performance/bundling-and-minification打开App_Start\BundleConfig.cs文件并检查的RegisterBundles方法,用于创建、 注册和配置包。下面的代码演示Regis... 阅读全文
posted @ 2015-07-13 11:52 oiliu 阅读(258) 评论(2) 推荐(1)
摘要:发布web到iis不能运行Google ----- ╲http://stackoverflow.com/questions/12057540/installing-asp-net-mvc-4-on-a-server----1、打包发布【记得Release - Any CPU】问题解决了,不知道原理。... 阅读全文
posted @ 2015-07-10 11:31 oiliu 阅读(176) 评论(0) 推荐(0)
摘要:Razor 代码块包含在 @{....}中内嵌表达式(变量和函数)已 @ 开头代码语句用分号结束变量使用 var 关键字声明字符创用引号括起来C#代码区分大小写C#文件的扩展是 .cshtml一。变量,数据类型,运算符,转换数据类型【图片来源这里】二。循环,数组 for, @for(var i = ... 阅读全文
posted @ 2015-07-09 10:35 oiliu 阅读(235) 评论(0) 推荐(0)
摘要:1、App_Data文件夹创建【SQL Server Compact Local Database *】数据库2、添加链接字符串 阅读全文
posted @ 2015-07-09 10:05 oiliu 阅读(161) 评论(0) 推荐(0)
摘要:总之呢就是在MVC中试下 ispostback那种效果,环境就是:登录验证loinger,if (Request.HttpMethod == "POST"){}没理解透彻源:http://stackoverflow.com/questions/777179/asp-net-mvc-is-ispost... 阅读全文
posted @ 2015-07-08 20:04 oiliu 阅读(567) 评论(0) 推荐(0)