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

´ø±à¼­µÄÏÂÀ­¿òasp.net

ÐÞ¸ÄÁË´Ó£ºhttp://www.cnblogs.com/ejiyuan/archive/2007/11/09/954325.htmlµÄÒ»ÅúÎÄÕ Éú³ÉÁË¿ÉÒÔÔÚGridviewÀïÃæµ÷ÓõÄCombBox¿Ø¼þ£¬ÊÇ»ùÓÚAjaxµÄ¡£
    ¶ÀÁ¢Ê¹ÓÃʹÓ÷½Ê½£¨£©£º  <Com:ComboBox ID="ComboBox2" runat="server" Independent="true"  Width="80px" EnableViewState="true">
                    </Com:ComboBox>
ÔÚGridviewʹÓ÷½Ê½£¨£©£º  <Com:ComboBox ID="ComboBox2" runat="server" Independent="false"  Width="80px" EnableViewState="true" DataArg='<%Eval("±àºÅ") %>'>
                    </Com:ComboBox>
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("Com", "Com")]
namespace Com
{
    /// <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(Com.ComboBoxDesigner))]
 &nbs


Ïà¹ØÎĵµ£º

dz̸ASP.net°²È«±à³Ì

ÔÚWeb±à³Ì¹ý³ÌÖУ¬´æÔÚןܶలȫÒþ»¼¡£±ÈÈçÔÚÒÔÇ°µÄASP°æ±¾ÖУ¬CookieΪ·ÃÎÊÕߺͱà³ÌÕ߶¼ÌṩÁË·½±ã£¬²¢Ã»ÓÐÌṩ¼ÓÃܵŦÄÜ¡£´ò¿ªIEä¯ÀÀÆ÷£¬Ñ¡Ôñ“¹¤¾ß”²Ëµ¥ÀïµÄ“InternetÑ¡Ï¬È»ºóÔÚµ¯³öµÄ¶Ô»°¿òÀïµ¥»÷“ÉèÖÔ°´Å¥£¬Ñ¡Ôñ“²é¿´Îļþ”°´Å¥£¬ÔÚµ¯³öµÄ´°¿ÚÖУ¬¾Í»áÏÔʾӲÅÌÀï ......

asp.netÎı¾¿òÑéÖ¤ÊäÈë


//ʹÓÃÑéÖ¤·½·¨
 if (!InputValidator(txt.Text.Trim()))
            {
                ScriptManager.RegisterStartupScript(this.Page, this.GetType(), "myScript", "alert('\"Îı¾¿ò\"ÊäÈëÁË·Ç·¨×Ö·û»òÊäÈ볬³¤£¡');", t ......

MVC֮ģÐͲ㣨¸½ÉÏasp.netµÄmvc½á¹¹£©

¡¡MVCϵͳÖеÄÄ£ÐÍ´Ó¸ÅÄîÉÏ¿ÉÒÔ·ÖΪÁ½Àà¨D¨DϵͳµÄÄÚ²¿×´Ì¬ºÍ¸Ä±äϵͳ״̬µÄ¶¯×÷¡£Ä£ÐÍÊÇÄãËùÓеÄÉÌÒµÂß¼­´úÂëƬ¶ÎËùÔÚ¡£±¾ÎÄΪģÐÍÌṩÁËÒµÎñʵÌå¶ÔÏó
ºÍÒµÎñ´¦Àí¶ÔÏó£ºËùÓеÄÒµÎñ´¦Àí¶ÔÏó¶¼ÊÇ´ÓProcessBaseÀàÅÉÉúµÄ×ÓÀà¡£ÒµÎñ´¦Àí¶ÔÏó·â×°Á˾ßÌåµÄ´¦ÀíÂß¼­£¬µ÷ÓÃÒµÎñÂß¼­Ä£ÐÍ£¬²¢ÇÒ°ÑÏìÓ¦Ìá½»µ½
ºÏÊʵÄÊÓͼ×é¼þÒÔ²úÉúÏì ......

µ¼³öÊý¾Ýµ½excel Öб¨Ã»Óиøasp.net ÊÚȨ

½â¾ö·½·¨£º¡¡
ÔËÐÐ ¼üÈ룺dcomcnfg.exe  »Ø³µ
 ´ò¿ª  ×齨·þÎñ->¼ÆËã»ú-> ÎҵĵçÄÔ->DCOM ÅäÖà -> Microsoft Excel Ó¦ÓóÌÐò ÊôÐÔ 1.±êʶ¸ÄΪ½»»¥Ê½Óû§
2. ÔÚ°²È«Ï Æô¶¯ºÍ¼¤»îȨÏÞ¡¢·ÃÎÊȨÏÞ¡¢ÅäÖÃȨÏÞ  ¼¸¸öÖÐÑ¡ÖÐ×Ô¶¨Òå ±à¼­ Ìí¼Ó ¸ß¼¶ Á¢¼´²éÕÒ Ñ¡ÖÐÏÂÁпòÖÐµÄ ASPNET µã»÷È·¶¨
......

ÈçºÎ¶ÔASP.NET½øÐÐÐÔÄÜÓÅ»¯

      Ò»¡¢SqlDataReadºÍDatasetµÄÑ¡Ôñ
¡¡¡¡SqldatareadÓŵ㣺¶ÁÈ¡Êý¾Ý·Ç³£¿ì¡£Èç¹û¶Ô·µ»ØµÄÊý¾Ý²»Ðè×ö´óÁ¿´¦ÀíµÄÇé¿öÏ£¬½¨ÒéʹÓÃSqlDataReader£¬ÆäÐÔÄÜÒª±ÈdatsetºÃºÜ¶à¡£È±µã£ºÖ±µ½Êý¾Ý¶ÁÍê²Å¿ÉcloseµôÓÚÊý¾Ý¿âµÄÁ¬½Ó
¡¡¡¡(SqlDataReader ¶ÁÊý¾ÝÊÇ¿ìËÙÏòÇ°µÄ¡£SqlDataReader ÀàÌṩÁËÒ»ÖÖ¶ÁÈ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ