2014年6月8日

div定位

摘要: 1.float定位带来的问题<html> <head> <title>div浮动引发的问题</title> </head> <style> body{ margin:0px 1px 2px 3px; } #father{ background-color:#FFFF99; width:100%; h 阅读全文

posted @ 2014-06-08 16:13 lxboy 阅读(719) 评论(0) 推荐(0) 编辑

C​# ​日​期​时​间

摘要: //获取日期+时间 DateTime.Now.ToString(); // 2008-9-4 20:02:10 DateTime.Now.ToLocalTime().ToString(); // 2008-9-4 20:12:12 //获取日期 DateTime.Now.ToLongDateStri 阅读全文

posted @ 2014-06-08 14:55 lxboy 阅读(147) 评论(0) 推荐(0) 编辑

LINQ To SQL && Lambda 使用方法小结 (转)

摘要: 1、 查询Student表中的所有记录的Sname、Ssex和Class列。select sname,ssex,class from studentLinq: from s in Students select new { s.SNAME, s.SSEX, s.CLASS } Lambda: Stu 阅读全文

posted @ 2014-06-08 14:52 lxboy 阅读(561) 评论(0) 推荐(0) 编辑

导航