11 2010 档案

摘要:typeof: The typeof operator is used to obtain the System.Type object for a type. 运算符,获得某一类型的 System.Type 对象。 Type t = typeof(int); GetType: Gets the Type of the current instance. 方法,获取当前实例的类型。 int i ... 阅读全文
posted @ 2010-11-22 10:17 M' 阅读(468) 评论(0) 推荐(0) 编辑
摘要:一、MySQL 获得当前日期时间 函数1.1 获得当前日期+时间(date + time)函数:now()mysql> select now();+---------------------+| now() |+---------------------+| 2008-08-08 22:20:46 |+---------------------+除了 now() 函数能获得当前的日期时间外,... 阅读全文
posted @ 2010-11-21 12:55 M' 编辑
摘要:c#读写xml文件已知有一个XML文件(bookstore.xml)如下:[代码]1、往<bookstore>节点中插入一个<book>节点: [代码]结果为:[代码]2、修改节点:将genre属性值为“李赞红“的节点的genre值改为“update李赞红”,将该节点的子节点<author>的文本修改为“... 阅读全文
posted @ 2010-11-09 11:15 M' 编辑

点击右上角即可分享
微信分享提示