摘要:
#region 版权说明//******************************************************// 版权所有2005 //******************************************************// 名称: DataBase // 作者: wuhao // 版本: 1.0 // 日期: 2005... 阅读全文
摘要:
一、DataGrid的属性设置 1. AllowPaging: true 2. PageStyle->Position: TopAndBottom 3. 可选:PageStyle->HorizonAlign: Center(使文本居中显示) 4. 可选:ItemStyle->HorizonAlign: Center(使文本居中显示)二、代码部分 1.首先,使DataGrid绑定数据... 阅读全文
摘要:
这几天详细研究了一下msdn上Dino Esposito的分页控件该控件是一个时间控件,通过下拉列表框选择时间的年、月、日、时、分、秒。初始化时要提供可选时间的起始年份。源代码如下:using System;using System.Web.UI;using System.Web.UI.WebControls;using System.ComponentModel;using System.Com... 阅读全文
摘要:
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 日=curr... 阅读全文
摘要:
UML(统一建模工具)己成为一个热门话题。开发者发现,相对于其他方法论,建模的优势非常明显。本文所介绍的Borland Together for Microsoft Visual Studio.NET便是一个采用UML图注方法的建模工具。 Borland Together针对不同的应用已开发出了不同的版本。Borland Together for Microsoft ... 阅读全文