摘要: 急急急! 阅读全文
posted @ 2008-12-18 22:16 图图 阅读(106) 评论(0) 推荐(0)
摘要: protected void Page_Load(object sender, EventArgs e) { //获取GB2312编码页(表) Encoding gb = Encoding.GetEncoding("gb2312"); //调用函数产生4个随机中文汉字编码 object[] bytes = CreateR... 阅读全文
posted @ 2008-12-17 19:13 图图 阅读(173) 评论(0) 推荐(0)
摘要: NET类库也提供一些基础的农历类System.Globalization.ChineseLunisolarCalendar。我改装了一下如DateTime时间形式。代码如下。实现了 公历农历转换的功能。但是只能算到1900~2100年之间的。基本够日常使用了。源代码如下。 using System; using System.Collections.Generic; ... 阅读全文
posted @ 2008-12-17 11:43 图图 阅读(393) 评论(0) 推荐(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 取当前日 in... 阅读全文
posted @ 2008-12-17 11:42 图图 阅读(177) 评论(0) 推荐(0)
摘要: Web Parts 是ASP.NET2.0中一个非常令人感兴趣的特性。它为创建动态的网页接口提供了一系列的可用控件,使得用户非常容易就可以进行配置或者个性化页面。用户可以显示、隐藏或者移动Web Parts组件。下面,我将为大家介绍一下Web Parts的概貌。 划分页面 microsoft SharePoint的开发人员和用户可能会对Web Parts比较熟悉,因为Web Parts就是... 阅读全文
posted @ 2008-12-17 11:41 图图 阅读(170) 评论(0) 推荐(0)
摘要: 1.静态变量和非静态变量的区别? 2.const 和 static readonly 区别? 3.extern 是什么意思? 4.abstract 是什么意思? 5.internal 修饰符起什么作用? 6.sealed 修饰符是干什么的? 7.override 和 overload 的区别? 8.什么是索引指示器? 9.new 修饰符是起什么作用? 10.this 关键字的含义... 阅读全文
posted @ 2008-12-17 11:40 图图 阅读(111) 评论(0) 推荐(0)