Fork me on GitHub
.net求学者
摘要: 主要代码部分:/*新增的二级菜单部分*/ .menu ul ul { visibility:hidden;/*开始时是隐藏的*/ position:absolute; left:0px; top:32px; } .menu ul a:hover ul{ visibility:visible; } .menu ul ul li { clear:both;/*垂直显示*/ text-align:left; } /**或**/dd { display:none; }dl:hover dd, a:hover dd { display:block;... 阅读全文
posted @ 2014-03-19 11:01 hy31337 阅读(140) 评论(0) 推荐(0) 编辑
摘要: Config.ini 文件操作[SYS]sysname=hycompany=hyhytel=2using System;using System.Collections.Generic;using System.Text;namespace Common{ public class SetIN... 阅读全文
posted @ 2014-03-19 09:06 hy31337 阅读(329) 评论(0) 推荐(0) 编辑
摘要: XML解析序列化2 根据IP获取城市--有道接口 config.xml /// <summary> /// 实体转Xml,Xml转实体类 /// </summary> /// <typeparam name="T"></typeparam> public class XmlHelper<T> whe 阅读全文
posted @ 2014-03-19 09:03 hy31337 阅读(351) 评论(0) 推荐(0) 编辑
摘要: /// /// 身份证号码验证,返回字符数组:0:身份证号码,1:出生日期,2:性别[true:女,false:男],如果为空null:身份证错误 /// /// 身份证号码 /// 字符数组:0:身份证号码,1:出生日期,2:性别[t... 阅读全文
posted @ 2014-03-19 08:55 hy31337 阅读(424) 评论(0) 推荐(0) 编辑
.net求学者