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();
Ïà¹ØÎĵµ£º
·½·¨Ò»£º
string postData = string.Format("a=1&b=2"); //post´«µÝ²ÎÊý
Stream outstream = null;
Stream instream = null;
StreamReader sr = null;
&nb ......
ÑéÖ¤¿ÉÒÔÈ·±£Óû§ÊäÈë·ûºÏÄúÖ¸¶¨µÄÌõ¼þ¡£ÔÚ´ó¶àÊýÇé¿öÏ£¬ÕâÒ»²Ù×÷±È½Ï¼òµ¥¡£µ«ÓÐʱ¶ÔÊäÈë½øÐÐÑéÖ¤»áÒýÈëÌØÊâµÄÌõ¼þ¡£Á˽âÕâЩÌõ¼þÊÇʲô¡¢ÑéÖ¤ÈçºÎÖ´ÐÐÒÔ¼°ÓÐÄÄЩ¿ÉÄܵÄÑéÖ¤½á¹ûÊǷdz£ÖØÒªµÄ¡£
Ò»¡¢Óë¿Õ°××ֶεĶԱÈ
Èç¹û×Ö¶ÎΪ¿Õ°×£¬Ôò³ý RequiredFieldValidator ¿Ø¼þÖ®ÍâµÄ ......
0¡¢ÒýÑÔ
Web Ò³ÃæÊÇÎÞ״̬µÄ£¬ ·þÎñÆ÷¶Ôÿһ´ÎÇëÇó¶¼ÈÏΪÀ´×Ô²»Í¬Óû§£¬Òò´Ë£¬±äÁ¿µÄ״̬ÔÚÁ¬Ðø¶ÔÍ¬Ò»Ò³ÃæµÄ¶à´ÎÇëÇóÖ®¼ä»òÔÚÒ³ÃæÌø×ªÊ±²»»á±»±£Áô¡£ÔÚÓÃAsp.NET Éè¼Æ¿ª·¢Ò»¸öWebϵͳʱ£¬ Óöµ½Ò»¸öÖØÒªµÄÎÊÌâÊÇÈçºÎ±£Ö¤Êý¾ÝÔÚÒ³Ãæ¼ä½øÐÐÕýÈ·¡¢°²È«ºÍ¸ßЧµØ´«ËÍ£¬Asp.net ÌṩÁË״̬¹ÜÀíµÈ¶àÖÖ¼¼ÊõÀ´½â¾ ......
ÔÚ²»Í¬°æ±¾µÄIISÏÂʹÓÃASP.NET MVC
asp.net mvc beta 2008-11-28 22:43 ÔĶÁ20 ÆÀÂÛ0
×ֺţº ´ó´ó ÖÐÖРСС
£¨Ô´´£º»Ò»Ò³æµÄ¼Ò http://hi.baidu.com/grayworm£©
ÔÚÕâÆªÎÄÕÂÖÐÎÒÃÇѧϰÔÚ²»Í¬°æ±¾µÄIISÖÐʹÓÃASP.NET MVCºÍURL Routing¡£ÎÒÃÇѧϰÕë¶ÔIIS ......