Aleehome

Aleehome_Code

2018年4月15日

C#获取文件夹下面的所有文件名

摘要: String path = @"X:\xxx\xxx"; //第一种方法 var files = Directory.GetFiles(path, "*.txt"); foreach (var file in files) Console.WriteLine(file); //第二种方法 Direc 阅读全文

posted @ 2018-04-15 14:50 Aleehome 阅读(388) 评论(0) 推荐(0) 编辑

2017年5月17日

字符超出长度用顿号显示

摘要: ext-overflow: -o-ellipsis-lastline;overflow: hidden;text-overflow: ellipsis;display: -webkit-box;-webkit-line-clamp: 2;-webkit-box-orient: vertical; 阅读全文

posted @ 2017-05-17 15:35 Aleehome 阅读(131) 评论(1) 推荐(0) 编辑

2016年5月24日

符号问题,某个数的多少立方

摘要: 以下为10的9次方,其他的根据这个改动相应的数字 10<sup>9</sup> 阅读全文

posted @ 2016-05-24 16:28 Aleehome 阅读(110) 评论(0) 推荐(0) 编辑

2015年11月16日

数据库误操作恢复

只有注册用户登录后才能阅读该文。 阅读全文

posted @ 2015-11-16 11:37 Aleehome 阅读(8) 评论(0) 推荐(0) 编辑

2015年11月11日

获取浏览器信息 c#

摘要: Request.Browser.MajorVersion.ToString();//获取客户端浏览器的版本号Request.Browser.Version.ToString();//获取客户端浏览器的完整版本号 Request.Browser.Platform.ToString();//获取客户端使... 阅读全文

posted @ 2015-11-11 13:50 Aleehome 阅读(197) 评论(0) 推荐(0) 编辑

2015年11月9日

回车键事件

摘要: //回车键事件 document.onkeydown = function (event) { var e = event || window.event || arguments.callee.caller.arguments[0]; ... 阅读全文

posted @ 2015-11-09 11:27 Aleehome 阅读(143) 评论(0) 推荐(0) 编辑

2015年10月29日

mvc中测试网络

摘要: 、//控制器层面public string IsAnyNetworkAvailable() { try { foreach (NetworkInterface ni in NetworkInterface.Get... 阅读全文

posted @ 2015-10-29 09:13 Aleehome 阅读(178) 评论(0) 推荐(0) 编辑

2014年12月5日

C#调用WebService (转)

摘要: 1.1、Web Service基本概念Web Service也叫XML Web Service WebService是一种可以接收从Internet或者Intranet上的其它系统中传递过来的请求,轻量级的独立的通讯技术。是:通过SOAP在Web上提供的软件服务,使用WSDL文件进行说明,并通过UD... 阅读全文

posted @ 2014-12-05 15:49 Aleehome 阅读(259) 评论(0) 推荐(0) 编辑

导航