摘要:
```--创建游标declare 游标名 cursor forselect 列1,列2 from 表 --游标的值--打开游标open my_cursor--声明变量,变量是用来接收游标的值declare @变量1 类型 declare @变量2 类型--循环游标fetch next from 游标名 into @变量1,@变量2 --获取下一条数据并赋值给变... 阅读全文
摘要:
``` $('#TPL_day_23').datetimebox({ formatter: function (date) { var y = date.getFullYear(); var m = date.getMonth() + 1; var d = date.getDate(); var h = date.getHours(); var M = date.getMinutes(); var 阅读全文
摘要:
``` if(typeof (jsonObject.name) == "undefined"){ alter("该属性不存在!"); } ``` 阅读全文
摘要:
```$('#TPL_day_23').datebox({ required: true, formatter: function (date) { var y = date.getFullYear(); var m = date.getMonth() + 1; ... 阅读全文
摘要:
基础类型:number类型、boolean类型和string类型,其操作方式为传值 引用类型:array类型、object类型、function类型,其操作方式为传址 采用深拷贝的方法:(原理先转换为基础类型,再转换回来) 阅读全文
摘要:
``` //得到当前日期 formatterDate = function (date) { var day = date.getDate() > 9 ? date.getDate() : "0" + date.getDate(); var month = (date.getMonth() + 1) > 9 ? (date.getMonth() + 1) : "0" + (date.getMont 阅读全文
摘要:
``` var head = db.Queryable().Where(w => w.CheckNumber == checkNumber && w.InspectionUnitName == inspectionUnit).ToList(); foreach (var h in head) { h.IllegalVarieties = db.Queryable().Where(w => h.Id 阅读全文
摘要:
``` $("#CancelConfirmInfo").parent().is(":hidden"); 打开状态返回false,关闭状态true ``` 阅读全文