APP接口开发过程中的注意事项

APP接口开发过程中的注意事项 …… 阅读全文

C#窗体闪烁及窗体置顶方法

FlashWindow(this.Handle, true);//闪烁 SetForegroundWindow(MainHandle);//置顶 …… 阅读全文

WebSocket只能接受100多个字符的解决办法

网上的代码 contentBytes[2] = (byte)(temp.Length & 0xFF); contentBytes[3] = (byte)(temp.Length >> 8 & 0xFF);替换为: else if (temp.Length { …… 阅读全文

Select-DropDownList通过Javascript实现模糊搜索

html 运营商: js function SetOperatorSele …… 阅读全文

不能再用Public Static这样的方法了。

定义了Public Static之类的方法。当访问量大的时候。就会出现严重的错误,而且很难发现。public void InsertVisitStatBrowse(string sessionID, int companyID, string viewURL,string fromURL,string fromEngine,string theYear, string theMonth, st …… 阅读全文

Application的Lock问题。

今天终于找到了方法,那就是Application.Lock()。这个在ASP里就已经用到的方法。现在竟然还需要别人提醒。晕。。。public void InsertVisitStatBrowse(string sessionID, int companyID, string viewURL,string fromURL,string fromEngine,string t …… 阅读全文

IIS 错误代码

400 无法解析此请求。 401.1 未经授权:访问由于凭据无效被拒绝。 401.2 未经授权: 访问由于服务器配置倾向使用替代身份验证方法而被拒绝。 401.3 未经授权:访问由于 ACL 对所请求资源的设置被拒绝。 401.4 未经授权:Web 服务器上安装的筛选器授权失败。 401.5 未经授权:ISAPI/CGI 应用程序授权失败。 401.7 未经授权:由于 Web 服务器上的 URL …… 阅读全文

使.NET使用数据库连接池

****************连接池代码***************************/*** 实现连接池* */using System;using System.Collections;using System.Timers;namespace XuLongClass{/// /// ObjectPool 的摘要说明。/// public abstra …… 阅读全文