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

ASP.NET GridViewÖеã»÷ɾ³ýµ¯³öÌáʾ

 Ê×ÏÈÌí¼ÓÒ»¸öÄ£°åÁУ¬ÄÚÈÝÈçÏÂ
 <asp:TemplateField HeaderText="²Ù×÷">
       <ItemTemplate>
            <div onclick="return confirm('ÄúÈ·¶¨ÒªÉ¾³ýÂð£¿')">
                <asp:LinkButton ID="lbtn" CommandName="del" runat="server" CommandArgument='<%# Bind("id") %>' Text="ɾ³ý" />
            </div>
      </ItemTemplate>
</asp:TemplateField>
ºǫ́´úÂ룺
Ìí¼ÓGridViewµÄRowCommandʼþ£¬´úÂëÈçÏ£º
protected void GridView1_RowCommand(object sender, GridViewCommandEventArgs e)
    {
        if(e.CommandName=="del")//»ñÈ¡´ËÃüÁîµÄÃû³Æ£¬Èç¹ûÊÇɾ³ýÔòÖ´ÐÐ
        {
            int id = Convert.ToInt32(e.CommandArgument.ToString());//»ñÈ¡´ËÃüÁîµÄ²ÎÊýÖµ
            //Ö´ÐвÙ×÷
        }
    }


Ïà¹ØÎĵµ£º

ÔÚASP.NET ÖÐʵÏÖµ¥µãµÇ¼

 
ÔÚASP.NET ÖÐʵÏÖµ¥µãµÇ¼
³ö×Ô£º¡¾ÃÏÏÜ»áÖ®¾«²ÊÊÀ½ç¡¿ ·¢²¼ÈÕÆÚ£º2005Äê1ÔÂ27ÈÕ 8µã48·Ö0Ãë
ÓÉÓÚijЩԭÒò£¬ÔÚÎÒÃǵÄÓ¦ÓÃÖлáÓöµ½Ò»¸öÓû§Ö»ÄÜÔÚÒ»¸öµØ·½µÇ¼µÄÇé¿ö£¬Ò²¾ÍÊÇÎÒÃÇͨ³£Ëù˵µÄµ¥µãµÇ¼¡£ÔÚASP.NETÖÐʵÏÖµ¥µãµÇ¼ÆäʵºÜ¼òµ¥£¬ÏÂÃæ¾Í°ÑÖ÷ÒªµÄ·½·¨ºÍÈ«²¿´úÂë½øÐзÖÎö¡£
ʵÏÖ˼·
ÀûÓÃCacheµÄ¹¦ÄÜ ......

¹ØÓÚasp.netµ¼³öExcelʱ¹ØÁªÑ¸À×ÏÂÔØ

ÔÚÀûÓÿªÔ´MyXlsµ¼³öExcelʱ£¬¶ÔÓÚ°²×°×ÅѸÀ׵Ŀͻ§¶Ë£¬µ¼³öʱ»á¹ØÁªÑ¸À×£¬Èç¹ûÓÃѸÀ×ÏÂÔØ£¬ÏÂÔØµÄÊÇÕâ¸öÒ³Ãæ¼´aspxÎļþ£¬¶ø·ÇÏëÒªµÄµÄ±¨±í
ΪÁ˽â¾öÕâ¸öÎÊÌâ·Ñ¾¡ÐÄ˼£¬bd£¬Google£¬Ã»ÕÒµ½´ð°¸£¬ºóÀ´×Ô¼º¿´¿´Ô´Â룬ϸϸÑо¿ÁËһϽâ¾öÁË
ѸÀ×ÏÂÔØÊ±ÖØ¶¨Î»ÁË×ÊÔ´£¬ËùÒÔÏÂÔØµÃµ½µÄÊÇÍøÒ³µÄ¡£ÕâÑùÎÒÃÇ¿ÉÒÔÿ´Îµã»÷µ¼³öÊ±× ......

ASP.NET MVC 2 Beta ·¢²¼

ÔÚÈí¼þÒµÀï´Ó³ÌÐòÔ±³öÉíµÄ£¬Ç§Íò²»Òª°ÑÄã×Ô¼ºµÄ±¾Ðжªµô¡£ÎÒ˵µÄ±¾ÐÐÊǼ¼Êõ¡£ËäÈ»ÔÚÖйú£¬ËÀ×êÑм¼ÊõûÓгö·£¬»°ËäÕâô˵£¬µ«¼¼Êõ³öÉíµÄ¹ÜÀíÕߣ¬¾ø¶ÔÅ£ÓÚ´¿´â¸ã¹ÜÀíµÄÖ½ÉÏ̸±ø£¨µ±È»ÅųýÓàÊÀάÕâÑùµÄÈË£¬Å£²æ²æµÄMBA²©Ê¿)¡£²©¿ÍÔ°ÀïÓÐºÜ¶à“³ÌÐòÔ±->¼Ü¹¹Ê¦->¹ÜÀíÕß”µÄ°ñÑù¡£
×î½üºÜ¾ÃûÀ´Ô°×ÓÀïд²©¿ÍÁË ......

ASP.NETÈý²ã½á¹¹ÓëMVCģʽµÄÇø±ð

 ÕâÁ½Õß±¾Éí½²µÄÊDz»Í¬·½ÏòÓë½Ç¶ÈµÄÎÊÌ⣬ÔÚʵ¼ÊÓ¦ÓÃÖÐËûÃǵÄÈ·´æÔÚһЩÏàËÆµÄÌØµã£¬ÔںܶàÊé¼®ÖÐҲûÓÐÉîÈë½²½â£¬ÒÔÖÂÓÚÔì³ÉÀ§»ó£¬ÎªÁ˸üºÃµÄÀí½âËûÃÇ£¬ÄǾÍÀ´ËµËµÇø±ð°É¡£
¡¡¡¡Ê×ÏÈN²ã½á¹¹ÊÇÒ»ÖÖÈí¼þ³éÏóµÄ²ã´Î½á¹¹£¬ÊǶԸ´ÔÓÈí¼þµÄÒ»ÖÖ×ÝÏòÇз֣¬Ã¿Ò»²ã´ÎÖÐÍê³ÉͬһÀàÐ͵IJÙ×÷£¬ÒԱ㽫¸÷ÖÖ´úÂëÒÔÆäÍê³ÉµÄʹÃü×÷ÎªÒ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ