2006年8月18日
摘要:
更改只读文件属性为正常Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->//设置Test.txt为只读 private void button1_Click(object sender, System.EventArgs e) { System.IO.F...
阅读全文
posted @ 2006-08-18 13:49
Gary.han
阅读(1243)
推荐(0)
2006年8月15日
摘要:
判断物理路径下是否存在某文件,如果不存在则创建Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--> //判断物理路径下是否存在某文件,如果不存在则创建 private string PathTrans(string strNam...
阅读全文
posted @ 2006-08-15 16:45
Gary.han
阅读(1956)
推荐(0)
2006年8月9日
摘要:
Socket获取传递参数后的返回值Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--> string StartTime = IROperatieDB.StringWipeOffEmpty(Meeting_Start); ...
阅读全文
posted @ 2006-08-09 11:44
Gary.han
阅读(1271)
推荐(0)
2006年8月7日
摘要:
首先点开始--〉程序--〉Microsoft Visual Studio .NET 2003--〉Visual Studio .NET工具--〉Visual Studio .NET 2003命令提示--〉输入命令:aspnet_regiis -i --〉成功安装后输入命令:aspnet_regiis -r --〉成功!
阅读全文
posted @ 2006-08-07 16:05
Gary.han
阅读(1005)
推荐(0)
摘要:
代码Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/----按照某几个字段名称查找表中存在这几个字段的重复数据并按照插入的时间先后进行删除,条件取决于orderby和row_num--方法一按照多条件重复处理:deletetmpfrom(selectrow...
阅读全文
posted @ 2006-08-07 15:58
Gary.han
阅读(6037)
推荐(0)
2006年7月31日
摘要:
读写COOKIESCode highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--> /**//// /// 写cookie /// private void WriteCookie() { ...
阅读全文
posted @ 2006-07-31 16:48
Gary.han
阅读(586)
推荐(0)
2006年7月28日
摘要:
网络连接-->属性-->本地连接-->属性-->高级-->设置-->选择本地连接-->设置-->可以添加要对外界开放的端口,也可以编辑。远程桌面的端口更改,目的是避免经常被人扫描3389暴力破解或总尝试登录:步骤:打开“开始→运行”,输入“regedit”,打开注册表,进入以下路径:HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server\Wds\rdpwd\Tds\tcp\PortNamber其默认值是3389,修改成所希望的端口即可,例如6111。再打开HKEY_L
阅读全文
posted @ 2006-07-28 19:00
Gary.han
阅读(1284)
推荐(0)
摘要:
判断是否连接到网络Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->using System.Runtime.InteropServices; //调用API用的命名空间 private void Page_Load(object send...
阅读全文
posted @ 2006-07-28 18:49
Gary.han
阅读(1499)
推荐(0)
2006年7月27日
摘要:
简单JSCode highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->//限制滚动条 //更新聊天内容显示 var div = document.all("chatcontent"); div.innerHTML = div.innerHTML +...
阅读全文
posted @ 2006-07-27 14:07
Gary.han
阅读(1519)
推荐(0)
2006年7月26日
摘要:
//定义大字节存放类型StringBuilder StrBuiderMailtxt = new StringBuilder("");//解决HTML邮件出现的乱码问题StrBuiderMailtxt.Append("\r\n \r\n");//在各HTML标记间加“\r\n”人工让HTML内容回车就会避免乱码问题
阅读全文
posted @ 2006-07-26 20:39
Gary.han
阅读(2372)
推荐(0)