摘要: /** * 获取本周、本季度、本月、上月的开端日期、停止日期 */ var now = new Date(); //当前日期 var nowDayOfWeek = now.getDay(); //今天本周的第几天 var nowDay = now.getDate(); //当前日 var nowMo... 阅读全文
posted @ 2015-08-24 11:45 水苗 阅读(925) 评论(0) 推荐(0) 编辑
摘要: /// /// 修改节点 /// /// UserSafe 实体类 /// public XmlDocument UpdateUserNode(UserSafe user) { XmlD... 阅读全文
posted @ 2015-08-24 11:42 水苗 阅读(253) 评论(0) 推荐(0) 编辑
摘要: XmlDocument xmlDoc = new XmlDocument(); XmlDeclaration declaration = xmlDoc.CreateXmlDeclaration("1.0", "utf-8", "yes");//第一个参数为版本,必须为1.0;第二个参数为编码方式,一... 阅读全文
posted @ 2015-08-24 11:35 水苗 阅读(291) 评论(0) 推荐(0) 编辑