2015年10月8日

摘要: 1.显示结果;2,样式;3,js 1 2 3 4 5 31 阅读全文
posted @ 2015-10-08 15:27 linda的代码成长之路 阅读(299) 评论(0) 推荐(0)

2015年9月1日

摘要: /// /// 通过生日获取年龄 /// /// yyyy年MM月dd日 /// public static string GetAgeStr(DateTime? birthday) { DateTime birthdays =birthday==null?DateTime.Now:(Date... 阅读全文
posted @ 2015-09-01 14:54 linda的代码成长之路 阅读(244) 评论(0) 推荐(0)

2015年8月25日

摘要: --由父项递归下级 with cte(refid,pid,zname,code) as (--父项 select refid,pid,zname,code from zuzhi where pid = 38 union all --递归结果集中的下级 select t.refid,t.pid,t... 阅读全文
posted @ 2015-08-25 19:02 linda的代码成长之路 阅读(452) 评论(0) 推荐(0)

2015年8月17日

摘要: //比较两个时间大小 var myDate = new Date(); var date = myDate.getFullYear() + '-' + (myDate.getMonth() + 1) + '-' + myDate.getDate(); //选择的时间 ... 阅读全文
posted @ 2015-08-17 09:43 linda的代码成长之路 阅读(822) 评论(0) 推荐(0)

2015年7月10日

摘要: .name {text-overflow: ellipsis;white-space: nowrap;overflow: hidden;display:block;width:120px; } 阅读全文
posted @ 2015-07-10 16:38 linda的代码成长之路 阅读(354) 评论(0) 推荐(1)

2015年7月7日

摘要: 1 网站后台注:window.location.href=url;js方式的页面跳转1.window.location.href方式 2.window.navigate方式跳转 3.window.loction.replace方式实现页面跳转,注意跟第一种方式的区别有3个jsp页面(1.... 阅读全文
posted @ 2015-07-07 14:37 linda的代码成长之路 阅读(13743) 评论(0) 推荐(0)

2015年7月6日

摘要: 如下图所示关系型数据,LinQ语句为:var Query= from a in data.Awhere a.admin==传入的用户名&&a.pwd==传入的密码(可以传入一个model实体)join b in data.B on a.bid equals b.id into ... 阅读全文
posted @ 2015-07-06 17:00 linda的代码成长之路 阅读(437) 评论(2) 推荐(0)