asp.net µÄComboBox ¿ÉÊäÈë¿ÉÑ¡ÔñÏÂÀÁбí
ÎÄÕ³ö´¦£ºhttp://www.cnblogs.com/ejiyuan/archive/2007/11/09/954325.html
using System;
using System.ComponentModel;
using System.Web;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Collections;
using System.Web.UI.Design;
[assembly: TagPrefix("AtomNet.Web.UI.WebControls", "AtomNet")]
namespace AtomNet.Web.UI.WebControls
{
/// <summary>
/// Represents a control that allows the user to select a single item from a drop-down list,
/// or type in a new value that is not in the list.
/// </summary>
/// <remarks>
/// Since the ComboBox control inherits from <see cref="System.Web.UI.WebControls.ListBox"/>,
/// you can use it in exactly the same manner (including DataBinding).
/// For older browsers that do not support the functionality required to render this control,
/// a normal dropdown box will be emitted instead.
/// </remarks>
[ToolboxData("<{0}:ComboBox runat=\"server\"></{0}:ComboBox>")]
[ValidationPropertyAttribute("SelectedValue")]
[Designer(typeof(AtomNet.Web.UI.WebControls.ComboBoxDesigner))]
public class ComboBox : System.Web.UI.WebControls.ListBox
{
#region ˽ÓÐÊôÐÔ
/// <summary>
/// The <see cref="System.Web.UI.WebControls.TextBox"/> used internally to allow the user
/// to type in new values.
/// </summary>
TextBox textBox = new TextBox();
Ïà¹ØÎĵµ£º
ÔÚWeb±à³Ì¹ý³ÌÖУ¬´æÔÚןܶలȫÒþ»¼¡£±ÈÈçÔÚÒÔǰµÄASP°æ±¾ÖУ¬CookieΪ·ÃÎÊÕߺͱà³ÌÕß¶¼ÌṩÁË·½±ã£¬²¢Ã»ÓÐÌṩ¼ÓÃܵŦÄÜ¡£´ò¿ªIEä¯ÀÀÆ÷£¬Ñ¡Ôñ“¹¤¾ß”²Ëµ¥ÀïµÄ“InternetÑ¡Ï¬È»ºóÔÚµ¯³öµÄ¶Ô»°¿òÀïµ¥»÷“ÉèÖÔ°´Å¥£¬Ñ¡Ôñ“²é¿´Îļþ”°´Å¥£¬ÔÚµ¯³öµÄ´°¿ÚÖУ¬¾Í»áÏÔʾӲÅÌÀï ......
asp.netÊä³ö png 32λ ͼÏñ£¬´øÍ¸Ã÷alpha¡£
// pngtest.htm
<html>
<head></head>
<body bgColor="gray">
<img src="png.ashx" />
</body>
</html>
// png.ashx
<%@ WebHandler Language="C#" Class="Png" %>
using System.Web;
public class Png : IHtt ......
ʹÓÃÑéÖ¤×é¿ÉÒÔ½«Ò³ÃæÉϵÄÑéÖ¤¿Ø¼þ¹éΪһ×é¡£¿ÉÒÔ¶Ôÿ¸öÑéÖ¤×éÖ´ÐÐÑéÖ¤£¬¸ÃÑéÖ¤ÓëͬһҳµÄÆäËûÑéÖ¤×éÎ޹ء£
½«Òª·Ö×éµÄËùÓпؼþµÄ ValidationGroup ÊôÐÔÉèÖÃΪͬһ¸öÃû³Æ£¨×Ö·û´®£©¼´¿É´´½¨ÑéÖ¤×é¡£¿ÉÒÔΪÑéÖ¤×é·ÖÅäÈκÎÃû³Æ£¬µ«±ØÐë¶Ô¸Ã×éµÄËùÓгÉԱʹÓÃÏàͬµÄÃû³Æ¡£
Ôڻط¢¹ý³ÌÖУ¬Ö» ......
Ô´ÂëÏÂÔØ£ºhttp://www.tracefact.net/SourceCode/Asp-Net-Paging-Control.rar
Asp.Net ·ÖÒ³ÏÔʾ¿Ø¼þ
ÕâÆªÎÄÕÂ×ʼÊÇ2008Äê2Ô·ÝдµÄ£¬ÎÒÆð³õÏë×Å´ó¼ÒÓ¦¸Ã¶¼ÓÐ×Ô¼ºµÄÊý¾Ý·ÖÒ³·½Ê½£¬¶øÎÒ±¾È˲¢·Çרҵ×ö¿Ø¼þ¿ª·¢£¬ËùÒÔÖ»ÊÇÏë×ÅÌṩµã˼·£¬²¢Ã»ÓÐ×ö̫ϸÖµÄÑо¿¡£½á¹û¸ù¾Ýä¯ÀÀÁ¿·¢ÏÖ´ó¼Ò»¹ÊDZȽϹØ×¢µÄ£¬ÓÚÊǾͳé¿Õ¶ ......
¡ïAsp.netÈçºÎÁ¬½ÓSQL Server2000Êý¾Ý¿â¡ï
´ó¼ÒºÃ,ÒÔÏÂÊÇÓйØASP.netÁ¬½ÓSQL Server2000Êý¾Ý¿âµÄÀý³Ì£¬
ÔÚÕâÀïºÍ´ó¼Ò·ÖÏíһϣº
Asp.netÁ¬½ÓSQL Server2000Êý¾Ý¿âÀý³ÌÏê½â:
<%@ Import Namespace="System.Data" %>
<%@ Import NameSp ......