一、错误情况环境:win7+iis7.0DirectoryEntry配置IIS7出现如下错误或者是下面一段代码在IIS6.0下运转正常,但IIS7.0下运转会出错:System.DirectoryServices.DirectoryEntryiisServer;iisServer
=newSyste...
分类:
其他好文 时间:
2014-04-28 17:53:29
阅读次数:
464
using System;using
System.Collections.Generic;using System.ComponentModel;using System.Data;using
System.Drawing;using System.Linq;using System.Text;u...
分类:
Windows程序 时间:
2014-04-28 04:36:58
阅读次数:
1052
Math.Rondom() ==> 0 到 1 之间的小数Math.floor(x)
==> 小于或者等于 x 的整数(即转换成整数后是不能比 x 大的整数)setInterval(hanshu,1000) ==> 意思为调用下面的
hanshu(), 间隔时间为 1000 ms(毫秒)
分类:
Web程序 时间:
2014-04-28 03:04:13
阅读次数:
495
为了方便自己测试和监控,写了三个监控的脚本。 分别监控:
主机【cpu,mem,disk,fs,net】 oracle mysql 脚本如下:hmon.py: monitor Linux os system
including cpu,memory,disk,net,file s...
分类:
数据库 时间:
2014-04-28 01:27:52
阅读次数:
765
本人有一段代码关于"~"运算符 public class m{ public static
void main(String[] args){ int x=~5; System.out.println(x); ...
分类:
其他好文 时间:
2014-04-28 00:48:41
阅读次数:
326
using System;using
System.Collections.Generic;using System.ComponentModel;using System.Data;using
System.Drawing;using System.Linq;using System.Text;u...
分类:
Windows程序 时间:
2014-04-27 23:51:43
阅读次数:
1188
一、设置页面缓存1、直接在页面上用声明来缓存页面2、使用服务端方法://将Cache-Control标头设置为HttpCacheAbility值Response.Cache.SetCacheability(HttpCacheability.Public);//将页面的绝对过期时间Response.C...
分类:
其他好文 时间:
2014-04-27 23:02:18
阅读次数:
456
SQL语言共分为四大类:数据查询语言DQL、数据操纵语言DML、数据定义语言DDL、数据控制语言DCL1.
数据查询语言DQL数据查询语言DQL基本结构是由SELECT、FROM、WHERE子句组成的查询块:SELECT FROM WHERE 2.
数据操纵语言数据操纵语言DML主要有三种形式:1)...
分类:
数据库 时间:
2014-04-27 22:16:41
阅读次数:
633
窗口创建1. 自定义窗口类别WNDCLASS2. 注册窗口类RegisterClass3.
创建窗口 CreateWindow/CreateWindowEx WM_CREATE4. 显示窗口ShowWindowWM_SIZE &
WM_SHOWWINDOW5. 更新窗口UpdateWindow(使整...
分类:
其他好文 时间:
2014-04-27 21:39:59
阅读次数:
521
思路1)#define WINVER 0X500 // 放在所有头文件前 #include
2) WM_CREATE AnimateWindow(hwnd, 1000, AW_ACTIVATE|AW_BLEND);
InvalidateRect(hwnd, NULL, TRUE); UpdateWi...
分类:
其他好文 时间:
2014-04-27 21:32:09
阅读次数:
546