获取IP地址
摘要:IPAddress[] ip= Dns.GetHostAddresses(Dns.GetHostName()); foreach (var item in ip) { if (item.AddressFamily.Equals(AddressFamily.InterNetwork)) { Conso
阅读全文
posted @
2016-11-30 15:25
路上有你F
阅读(88)
推荐(0)
DataGridView导出到Excel的三个方法 (转载)
摘要:#region DataGridView数据显示到Excel 02./// <summary> 03./// 打开Excel并将DataGridView控件中数据导出到Excel 04./// </summary> 05./// <param name="dgv">DataGridView对象 </
阅读全文
posted @
2016-11-16 13:41
路上有你F
阅读(226)
推荐(0)
c#获取AD账户信息
摘要:1、获取连接语句 2、获取相关信息 3、搜索信息 3、遍历信息 注意:遍历的电脑必须加入域环境 IPGlobalProperties ipGlobalProperties = IPGlobalProperties.GetIPGlobalProperties(); string doname = ip
阅读全文
posted @
2016-11-11 11:12
路上有你F
阅读(1343)
推荐(0)
JQ 效果
摘要:JQ 菜单栏 <script> $(function () { $("#btnNav").toggle(function () { $("#nav").hide(); }, function () { $("#nav").show(1000); }) }) </script>
阅读全文
posted @
2016-11-08 15:43
路上有你F
阅读(117)
推荐(0)
html 的应用技巧
摘要:<a href="mailto: &subject= &body=">给你写信</a> 调出本地的Outlook,客户端进行邮件的发送 ex:<a href="mailto:xxx@163.com? cc=xx@163.com &subject=使用建议 &body=xxxxxx">给你写信</a>
阅读全文
posted @
2016-11-08 09:03
路上有你F
阅读(154)
推荐(0)