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

ASP.NETÖÐCheckBoxµÄʹÓÃ

 Ò»¡¢Ôõô½«CheckBoxµÄÖµ´æ´¢ÔÚÊý¾Ý¿âÖУ¬¼´Ò»¸öCheckBox±»Ñ¡¶¨ºó£¬ÈçºÎÔÚÊý¾Ý¿âÖбíʾÕâÖÖÑ¡¶¨£¿
Ê×ÏÈÔÚÊý¾Ý¿âÖж¨Ò弸ÁÐbitÀàÐ͵ÄÊý¾ÝÁУ¬ÓÃÀ´±íʾij¸öCheckBoxÊÇ·ñ±»Ñ¡¶¨£¬Êý¾Ý¿âÖеÄֵΪtrue»òfalse.
ǰ̨´úÂ룺
    ÊÇ·ñÍÆ¼ö£º<asp:CheckBox ID="IsRecommend" runat="server" />
    <br />
    ÊÇ·ñÈÈÂô£º<asp:CheckBox ID="IsHot" runat="server" />
    <br />
    ÊÇ·ñ²ÎÓë´òÕÛ£º<asp:CheckBox ID="IsSale" runat="server" />
    <br />
ºǫ́´úÂ룺
        //ÊÇ·ñÍÆ¼öµÄÅжÏ
        bool isrecommend;
        if (IsRecommend.Checked)
        {
            isrecommend = true;
        }
        else
        {
            isrecommend = false;
        }
        //ÊÇ·ñ´òÕÛµÄÅжÏ
        bool issale;
        if (IsSale.Checked)
        {
            issale = true;
        }
        else
        {
            issale = false;
        }
        //ÊÇ·ñÈÈÂôµÄÅжÏ
        bool ishot;
        if (IsHot.Checked)
        {
   &nbs


Ïà¹ØÎĵµ£º

ASP.NETÖг£ÓõÄ26¸öÓÅ»¯ÐÔÄÜ·½·¨(20


21. Ö»ÔÚ±ØÒªÊ±±£´æ·þÎñÆ÷¿Ø¼þÊÓͼ״̬ ¡¡¡¡
×Ô¶¯ÊÓͼ״̬¹ÜÀíÊÇ·þÎñÆ÷¿Ø¼þµÄ¹¦ÄÜ£¬¸Ã¹¦ÄÜʹ·þÎñÆ÷¿Ø¼þ¿ÉÒÔÔÚÍù·µ¹ý³ÌÉÏÖØÐÂÌî³äËüÃǵÄÊôÐÔÖµ(Äú²»ÐèÒª±àдÈκδúÂë)¡£µ«ÊÇ£¬ÒòΪ·þÎñÆ÷¿Ø¼þµÄÊÓͼ״̬ÔÚÒþ²ØµÄ´°Ìå×Ö¶ÎÖÐÍù·µÓÚ·þÎñÆ÷£¬ËùÒԸù¦ÄÜȷʵ»á¶ÔÐÔÄܲúÉúÓ°Ïì¡£ÄúÓ¦¸ÃÖªµÀÔÚÄÄЩÇé¿öÏÂÊÓͼ״̬»áÓÐËù°ïÖú£¬ÔÚÄÄÐ ......

iisÊôÐÔûÓÐasp.net Ñ¡Ïî


1£¬Èç¹ûÊÇÖ»°²×°ÁË.net framework 1.1 ÔÚiisÖÐÊDz»ÏÔʾÄǸöÑ¡ÏµÄ¡£Ä¬ÈϾͻáÖ§³Öasp.net1.1¡£ÔÚ°²×°ÁË.net framework 2.0ºó£¬iisÕ¾µãÊôÐÔÀï²Å»áÓÐasp.netµÄÑ¡Ïî¡£
2£¬°²×°asp.net2.0ºó£¬Çë¹Ø±Õiis´°¿Ú£¬ÖØÐ´ò¿ªiis£¬iisÕ¾µãÊôÐÔÀï²Å»áÓÐasp.netµÄÑ¡Ïî
3£¬Èç¹û»¹Ã»ÓУ¬ÄÇô¾ÍÒªÖØÐÂÔÚIISÖÐ×¢²áasp.net£¬·½·¨ÈçÏ£º ......

ASP.Net 2.0 ´°ÌåÉí·ÝÑéÖ¤»úÖÆ

ASP.Net 2.0 ´°ÌåÉí·ÝÑéÖ¤»úÖÆ-ת+×Ô¼º´úÂë×¢ÊÍʾÀýÓë¸üÏêϸµÄ˵Ã÷
ASP.Net 2.0 ´°ÌåÉí·ÝÑéÖ¤»úÖÆ-ת+×Ô¼º´úÂë×¢ÊÍʾÀýÓë¸üÏêϸµÄ˵Ã÷
µ±Ä³Ò»¸öÓû§Ê¹ÓÃÓû§Ãû³É¹¦µÇÂ½ÍøÕ¾Ê±£¬ FormsAuthentication£¨´°ÌåÉí·ÝÑéÖ¤»úÖÆ£¬ÏÂÃæÍ³Ò»Ê¹ÓÃÓ¢ÎÄÊõÓ ½«»á´´½¨Ò»¸öauthentication ticket (Éí·ÝÑé֤Ʊ),ͨ¹ýÕâ¸öticket¾Í¿ÉÒÔÔÚÍø ......

ASP.NETÖÐÈçºÎʵÏÖFORMÈÏÖ¤µÇ¼

ÈçºÎÔËÓà Form ±íµ¥ÈÏÖ¤
ASP.NET µÄ°²È«ÈÏÖ¤£¬¹²ÓГWindows”“Form”“Passport”“None”ËÄÖÖÑé֤ģʽ¡£“Windows”Óë“None”ûÓÐÆðµ½±£»¤µÄ×÷Ó㬲»ÍƼöʹÓ㻓Passport”ÎÒÓÖûÓùý£¬°¦……ËùÒÔÎÒÖ»ºÃ½²½²“Form”ÈÏ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ