摘要: 1. 在HTML页面的<head></head>标签入导入3个.js脚本文件和1个.css文件 jquery-1.4.4.min.js jquery-ui-1.8.6.custom.min.js jquery-ui-timepicker-addon.js jquery-ui-1.8.6.custom.css 2. 在<body></body>标签之间加入一个文本域: <input type="text" name="#example" id="#example" value=&qu 阅读全文
posted @ 2011-09-28 15:33 红蜻蜓 阅读(3248) 评论(0) 推荐(0)
摘要: SqlDateTime 溢出。必须介于 1/1/1753 12:00:00 AM 和 12/31/9999 11:59:59 PM 之间如果日期字段为null时,默认的更新是1/1/0001,这样便会出错所以在我们想要不输入时间的时候,可以通过数据库默认值的方式(允许为空值)或者存储一个不会使用到的时间存储就可以了,例如存储最小值 SqlDateTime.MinValue.Value 同时我们在也可以使用日期前跟 SqlDateTime.MinValue.Value比较,这样减少一些误操作,流程更严谨些. public bool InsertApply() { ... 阅读全文
posted @ 2011-09-28 15:15 红蜻蜓 阅读(12432) 评论(0) 推荐(0)