文章分类 -  ASP.NETC#编程技巧

一些技巧
摘要:http://blog.csdn.net/qianbo_0423/archive/2006/02/17/601029.aspx概述 手机的短消息实现目前有三种方法: 1.通过移动网关发送短消息,使用该方法不需要附加的硬件,但是需要到电信部门申请网关,比较适用于一些大型的网络通讯公司开发,目前华为,中兴等公司就做的这方面的工作,并且还有相应的开发包供开发人员使用. 2.在电脑上通过GSM... 阅读全文
posted @ 2009-03-04 18:21 Mating_luo 阅读(2844) 评论(0) 推荐(0)
摘要:CodeCode highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->usingSystem;usingSystem.Collections.Generic;usingSystem.Configuration;usingSystem.Security;usingSystem.Security.Cryptography;usingSystem.IO;usingSystem.Text;usingSystem.Collections;usingSystem.Co 阅读全文
posted @ 2009-03-03 13:52 Mating_luo 阅读(265) 评论(0) 推荐(0)
摘要:需要引用的类名空间 CodeCode highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->using System.Security.Cryptography;using System.IO;using System.text; CodeCode highlight... 阅读全文
posted @ 2008-10-28 16:34 Mating_luo 阅读(3594) 评论(1) 推荐(0)
摘要:1、DateTime 数字型 System.DateTime currentTime=new System.DateTime(); 1.1 取当前年月日时分秒 currentTime=System.DateTime.Now; 1.2 取当前年 int 年=currentTime.Year; 1.3 取当前月 int 月=currentTime.Month; 1.4 取当前日 int 日=curre... 阅读全文
posted @ 2008-07-05 01:30 Mating_luo 阅读(190) 评论(0) 推荐(0)
摘要:转CSDNC#特别适合于构造蜘蛛程序,这是因为它已经内置了HTTP访问和多线程的能力,而这两种能力对于蜘蛛程序来说都是非常关键的。下面是构造一个蜘蛛程序要解决的关键问题: ⑴ HTML分析:需要某种HTML解析器来分析蜘蛛程序遇到的每一个页面。 ⑵ 页面处理:需要处理每一个下载得到的页面。下载得到的内容可能要保存到磁盘,或者进一步分析处理。 ⑶ 多线程:只有拥有多线程能力,... 阅读全文
posted @ 2008-07-05 01:27 Mating_luo 阅读(331) 评论(0) 推荐(0)
摘要:利用强大的jquery的AJAX功能,可以很方便的实现,由于本人js水平有限,研究了2天才搞出来,期间主要参考了关于jquery的中文手册等资料,所以感觉掌握这些基本知识后做起东西来就随心所欲了,好了进入正题!关于ASP.NET动转静技术这里就不讨论了,网上有很多资料。现在是生成静态页后如何更新文章浏览次数这里需要掌握jquery ajax相关知识,jQuery 底层 AJAX 实现。简单易用的高... 阅读全文
posted @ 2008-07-03 03:05 Mating_luo 阅读(2442) 评论(1) 推荐(0)
摘要:http://www.cnblogs.com/hzuIT/articles/496941.html 阅读全文
posted @ 2008-01-24 13:15 Mating_luo 阅读(146) 评论(0) 推荐(0)