上一页 1 ··· 30 31 32 33 34 35 36 37 38 ··· 50 下一页
  2015年9月7日
摘要: 1、string 数组转换到 int 数组string[] input = { "1", "2", "3", "4", "5", "6", "7", "8", "9" };int[] output = Array.ConvertAll(input, delegate(string s) { retu... 阅读全文
posted @ 2015-09-07 10:02 Now,DayBreak 阅读(2491) 评论(0) 推荐(0)
摘要: 1、二进制转换为图片MemoryStream ms = new MemoryStream(bytes);ms.Position = 0;Image img = Image.FromStream(ms);ms.Close();2、二进制与字符串的相互转换System.Text.UnicodeEncod... 阅读全文
posted @ 2015-09-07 09:45 Now,DayBreak 阅读(529) 评论(0) 推荐(0)
  2015年9月6日
该文被密码保护。 阅读全文
posted @ 2015-09-06 21:16 Now,DayBreak 阅读(1) 评论(0) 推荐(0)
该文被密码保护。 阅读全文
posted @ 2015-09-06 21:01 Now,DayBreak 阅读(0) 评论(0) 推荐(0)
摘要: 我们经常需要通过生成 ActiveXObject("WScript.Shell"); 来调用某一exe文件。 设置网页打印的页眉页脚为空: var HKEY_Root,HKEY_Path,HKEY_Key; HKEY_Root="HKEY_CURRENT_USER"; ... 阅读全文
posted @ 2015-09-06 20:02 Now,DayBreak 阅读(1208) 评论(0) 推荐(0)
摘要: 最近由于任务需要开发了一个WebService, 部署到服务器以后,出现上述问题,网上查找到如下解决方案: 问题原因: 从 NET Framework 1.1 起定义了一个名为 HttpPostLocalhost 的新协议。默认情况下,这个新协议处于启用状态。该协议允许从与使用 HTTP P... 阅读全文
posted @ 2015-09-06 19:50 Now,DayBreak 阅读(854) 评论(0) 推荐(0)
  2015年9月1日
摘要: Microsoft.Office.Interop.Excel.Application eApp = new Microsoft.Office.Interop.Excel.ApplicationClass();或Microsoft.Office.Interop.Word.Application wAp... 阅读全文
posted @ 2015-09-01 17:03 Now,DayBreak 阅读(2126) 评论(0) 推荐(0)
  2015年8月31日
摘要: 1、获取客户端IP:Request.ServerVariables.Get("Remote_Addr").ToString();2、获取客户端主机名:Request.ServerVariables.Get("Remote_Host").ToString();3、客户端浏览器:Request.Brow... 阅读全文
posted @ 2015-08-31 14:14 Now,DayBreak 阅读(9136) 评论(0) 推荐(0)
摘要: Int16 值类型表示值介于 -32768 到 +32767 之间的有符号整数。Int32 值类型表示值介于 -2,147,483,648 到 +2,147,483,647 之间的有符号整数。Int64 值类型表示值介于 -9,223,372,036,854,775,808 到 +9,223,372... 阅读全文
posted @ 2015-08-31 13:10 Now,DayBreak 阅读(5022) 评论(0) 推荐(0)
该文被密码保护。 阅读全文
posted @ 2015-08-31 11:28 Now,DayBreak 阅读(13) 评论(0) 推荐(0)
上一页 1 ··· 30 31 32 33 34 35 36 37 38 ··· 50 下一页