ASP.NETÃæÊÔÌ⣺ListViewÀ©Õ¹
¹«Ë¾ÒªÇ󿪷¢Ò»¸ö¼Ì³ÐSystem.Windows.Forms.ListViewÀàµÄ×é¼þ£¬ÒªÇó´ïµ½ÒÔϵÄÌØÊ⹦ÄÜ£ºµã»÷ListView¸÷ÁÐÁÐͷʱ£¬Äܰ´ÕÕµã»÷ÁеÄÿÐÐÖµ½øÐÐÖØÅÅÊÓͼÖеÄËùÓÐÐÐ (ÅÅÐòµÄ·½Ê½ÈçDataGridÏàËÆ)¡£¸ù¾ÝÄúµÄ֪ʶ£¬Çë¼òҪ̸һÏÂÄúµÄ˼· £¿
Ö±½Ó·ÅÉÏ´úÂ룺
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace TestListView
{
public partial class ListViewEx : ListView
{
protected override void OnColumnClick(ColumnClickEventArgs e)
{
if (this.ListViewItemSorter == null)
{
this.ListViewItemSorter = new ListViewItemComparer(e.Column, SortOrder.Ascending);
}
else
{
ListViewItemComparer comparer = this.ListViewItemSorter as ListViewItemComparer;
if (comparer.SortColumn == e.Column)
{
if (comparer.Order == SortOrder.Ascending)
{
&
Ïà¹ØÎĵµ£º
×î½ü£¬Òª°ÑÒ»¸öC/S½á¹¹µÄ³ÌÐò¸Ä³ÉB/S½á¹¹¡£ÆäÖоÍÓöµ½ÁË´òÓ¡µÄÎÊÌâ¡£Ñо¿ÁËһϣ¬webÏ´òÓ¡·½·¨´ó¸ÅÓÐÕâô¼¸ÖÖ£º
1¡¢ÀûÓÃIEÖ±½Ó´òÓ¡£¬ÕâÖÖ·½Ê½×î·½±ã£¬µ«ÊÇ¿ØÖÆÄÜÁ¦½Ï²î¡£
2¡¢ÀûÓÃACTIVE¿Ø¼þ£¬¿ÉÒÔ×Ô¼º×öÒ»¸öIEµÄ¿Ø¼þÀ´¿ØÖÆ´òÓ¡¡£
3¡¢Ë®¾§±¨±íµÈµÚÈý·½¹¤¾ß£¬¹ºÂò¼Û¸ñ°º¹ó¡£
¸ù¾ÝÎÒµÄÐèÇóÇé¿ö£¬ÓÃIEÖ ......
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 ÈÕ=currentTime.Day;
1.5 È¡µ±Ç°Ê± int ʱ=currentTi ......
1.ASP.NETÔËÐÐÔÀí¸ÅÊö
¡¡¡¡ÈçÉÏͼ£¬µ±Ò»¸öhttpÇëÇó·¢Ë͹ýÀ´²¢±»IIS»úÊÕµ½Ö®ºó,IISÊ×ÏÈͨ¹ýÄãÇëÇóµÄÒ³ÃæÀàÐÍΪÆä¼ÓÔØÏàÓ¦µÄdllÎļþ£¬È»ºóÔÚ´¦Àí¹ý³ÌÖн«ÕâÌõÇëÇó·¢Ë͸øÄܹ»´¦ÀíÕâÌõÇëÇóµÄÄ£¿é,¶øÔÚASP.NETÖÐÕâ¸öÄ£¿é¾Í½Ð×öHttpHandler,ΪʲôaspxÕâÑùµÄÎļþ¿ÉÒÔ±»·þÎñÆ÷´¦Àí,ÄÇÊÇÒòΪÔÚ·þÎñÆ÷¶ËÓÐĬÈϵÄHttpHandlerרÃÅ´ ......
The following is a simple checklist you can use when building web
applications. Much of this still applies to other technologies and can
easily be extended. I try not to get too specific on technology or
methodology, but it is definitely leaning toward ASP.NET.
If you
......
×î½ü×öµÄϵͳÖÐÀϳöÏÖµÄһЩÎÊÌⲻ̫Ã÷°×£¬ÔÚʹÓà Response.End¡¢Response.Redirect »ò Server.Transfer ʱ³öÏÖ ThreadAbortException £¬±¾À´ÏµÍ³ÊÇûÓÐÎÊÌâµÄ£¬ÔÚ±£´æÊý¾ÝʱҲ¿ÉÒÔÕý³££¬±¾À´Ê¹ÓÃtry-catch Óï¾äÊÇÓÃÀ´²¶»ñÒ»Òì³£Çé¿öµÄ£¬µ«ÏµÍ³Õý³££¬Àϲ¶»ñµ½ÏÂÃæµÄ¶«Î÷
##[²Ù×÷¼Ç¼]£º2010-02-23 9:25:12 Sys ......