Ò׽ؽØÍ¼Èí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

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();
       


Ïà¹ØÎĵµ£º

asp.net ÈçºÎʵÏÖÓÊÏäÑéÖ¤

Ê×ÏÈÊý¾Ý¿â±íµÄÉè¼Æµ±ÖÐ
×¢²áÓû§±íÓ¦¸Ã°üº¬Ò»¸öÊÇ·ñ¼¤»îµÄ×ֶΣ¬Í¨¹ý´Ë×Ö¶ÎÀ´ÅжÏÊÇ·ñ¼¤»î¡£ºÍÒ»¸ö¼¤»îkeyµÄ×ֶΣ¬´Ë×Ö¶ÎÓÃÓÚ·ÅÖü¤»îÂë
³ÌÐò·½Ãæ
ÔÚÓû§×¢²áµÄʱºòËæ»úÉú³ÉÒ»¸ö¼¤»îÂë(ÇëÈ·±£¼¤»îÂëΨһ)£¬°ÑÓû§ÐÅÏ¢¼°¼¤»îÂë²åÈëµ½Êý¾Ý±íÖС£
ͨ¹ý·¢ÓʼþµÄ·½Ê½Ïò×¢²áÓû§ÌṩµÄÓÊÏä·¢Ò»·â°üº¬¼¤»îÁ´½ÓºÍ¸Õ¸ÕÉú³ÉµÄ¼¤» ......

ASP.NETÒ³ÃæË¢Ð·½·¨×ܽá

private void Button1_Click( object sender, System.EventArgs e ) { Response.Redirect( Request.Url.ToString( ) ); } µÚ¶þ£º
private void Button2_Click( object sender, System.EventArgs e ) { Response.Write( " < script language=javascript>window.location.href=document.URL; < /script>" ); } ......

ASP.NET post·ÃÎÊÍâÍø½Ó¿Ú»ñÈ¡Êý¾Ý

·½·¨Ò»£º
 string postData = string.Format("a=1&b=2");   //post´«µÝ²ÎÊý
        Stream outstream = null;
        Stream instream = null;
        StreamReader sr = null;
&nb ......

ASP.net¿Ø¼þ·ÖÀà

[±¾¿Î±Ê¼Ç×ÊÔ´]  http://download.csdn.net/source/1850967
 ASP.net¿Ø¼þ·ÖÀࣺ
1¡¢HTML¿Ø¼þ System.Web.UI.Htmlcontrols
 ÆÕͨHTML½Å±¾¿Ø¼þ£¬ÊôÓÚ¿Í»§¶Ë¿Ø¼þ£¬ÓÃÓÚ¿Í»§¶Ë½âÊÍÒ³ÃæµÄÏÔʾµÄÄÚÈÝ
 Ò²¿ÉÒÔת»¯³É·þÎñÆ÷¿Ø¼þ£¬Ö»ÐèÒª¼ÓÉÏÊôÐÔ runat="server"
 È磺Îı¾¿òÅäºÏ°´Å¥Ê¹ÓÃ
ÐÕÃû:  ......

ASP.NET»º´æ·ÖÎöºÍʵ¼ùdzÎö(ת)

˵µ½ASP.NET»º´æ£¬ÄǾÍÊÇ£º¾¡Ô绺´æ£»¾­³£»º´æÄúÓ¦¸ÃÔÚÓ¦ÓóÌÐòµÄÿһ²ã¶¼ÊµÏÖ»º´æ¡£ÏòÊý¾Ý²ã¡¢ÒµÎñÂß¼­²ã¡¢UI »òÊä³ö²ãÌí¼Ó»º´æÖ§³Ö¡£ÄÚ´æÏÖÔڷdz£±ãÒË — Òò´Ë£¬Í¨¹ýÒÔÖÇÄܵķ½Ê½ÔÚÕû¸öÓ¦ÓóÌÐòÖÐʵÏÖ»º´æ£¬¿ÉÒÔ»ñµÃºÜ´óµÄÐÔÄÜÌá¸ß¡£ »º´æ¿ÉÒÔÑÚ¸ÇÐí¶à¹ýʧ »º´æÊÇÒ»ÖÖÎÞÐè´óÁ¿Ê±¼äºÍ·ÖÎö¾Í¿ÉÒÔ»ñµÃ“×ã¹»Á¼ºÃµÄ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ