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

ASP.NET ½«Í¼ÏñÓÃÓÚ Menu ¿Ø¼þ

 
      ¿ÉÒÔʹÓÃͼÏñÀ´ÔÚÊó±êÖ¸ÕëÐüÍ£Óڲ˵¥ÏîÉÏ·½Ê±Ö¸Ê¾´æÔÚ¿ÉÓÃ×Ӳ˵¥Ïî¡£»¹¿ÉÒÔʹÓÃͼÏñÀ´Çø·Ö¾²Ì¬ºÍ¶¯Ì¬²Ëµ¥Ï»òÓÃͼÏñ³äµ±Õû¸ö²Ëµ¥»òij¸ö¼¶±ðµÄ²Ëµ¥ÏîµÄ±³¾°¡£
¿ÉÒÔʹÓü¶ÁªÑùʽ±í (CSS) ºÍ Menu ¿Ø¼þµÄÊôÐÔÀ´Ö¸¶¨ÒªÊ¹ÓõÄͼÏñ£¬ÒÔ¼°ÕâЩͼÏñµÄÏÔʾ·½Ê½¡£
 
Ò»¡¢Ê¹ÓÃĬÈϵĵ¯³öͼÏñ
¿ÉÒÔʹÓÃÕâÁ½¸öÊôÐÔ»òÆäÖÐÒ»¸öÊôÐÔÀ´Ö¸¶¨£¬ÓÃÓÚָʾÔÚÊ״γÊÏÖ Menu ¿Ø¼þʱ²»ÏÔʾ×Ӳ˵¥ÏîµÄͼÏñ¡£ÈôҪʹÓÃĬÈÏͼÏñÀ´Ö¸Ê¾Ä³¸ö¾²Ì¬²Ëµ¥Ïî°üº¬×ÓÏÇ뽫 StaticEnableDefaultPopOutImage ÊôÐÔÉèÖÃΪ true£»ÈôҪʹÓÃĬÈÏͼÏñָʾij¸ö¶¯Ì¬²Ëµ¥Ïî°üº¬×ÓÏÇ뽫 DynamicEnableDefaultPopOutImage ÊôÐÔÉèÖÃΪ true¡£½«ÕâÁ½¸öÊôÐÔ»òÆäÖÐÒ»¸öÊôÐÔµÄÖµÉèÖÃΪ false£¬»áÒþ²Øÿ¸öÓÐ×ÓÏîµÄ²Ëµ¥ÏîÉϵÄĬÈϺڼýͷͼÏñ¡£
ÏÂÃæµÄʾÀý½«ÕâÁ½¸öÖµ¶¼ÉèÖÃΪ true£¬Òò´Ë£¬ÈκÎÓÐ×ÓÏîµÄ¾²Ì¬»ò¶¯Ì¬²Ëµ¥Ï»áÏÔʾĬÈϵĺڼýͷͼÏñ¡£
    <asp:Menu ID="Menu1" runat="server"
        StaticEnableDefaultPopOutImage="true"
        DynamicEnableDefaultPopOutImage="true">
 
¶þ¡¢Ö¸¶¨×Ô¶¨ÒåָʾÆ÷ͼ±ê
ÈôҪʹÓÃÄúΪָʾÆ÷ͼ±ê´´½¨µÄ×Ô¶¨ÒåͼÏñ£¬ÇëΪ StaticPopOutImageUrl ºÍ DynamicPopOutImageUrl ÊôÐÔ¸³Öµ¡£Ã¿¸öÊôÐÔÖ¸¶¨Ò»¸öÓÃÓÚָʾҪʹÓõÄͼÏñµÄÎļþλÖúÍÃû³Æ¡£StaticPopOutImageUrl ÊôÐÔ¿ØÖÆÓÃÓÚ¾²Ì¬²Ëµ¥ÏîµÄͼÏñ£¬DynamicPopOutImageUrl ÊôÐÔ¿ØÖÆÓÃÓÚ¶¯Ì¬²Ëµ¥ÏîµÄͼÏñ¡£
ÏÂÃæµÄʾÀý½«¾²Ì¬ºÍ¶¯Ì¬Ö¸Ê¾Æ÷ͼ±ê¶¼ÉèÖÃΪ Images Ŀ¼ÖеÄͼÏñ Greenarrow.gif¡£
<asp:Menu ID="Menu1" Runat="server" StaticPopOutImageUrl="~/images/greenarrow.gif"
        DynamicPopOutImageUrl="~/images/greenarrow.gif">
 
Èý¡¢Ö¸¶¨·Ö¸ô·ûͼÏñ
¿ÉÒÔʹÓ÷ָô·ûͼÏñ½«Í¬Ò»¼¶±ðµÄ²Ëµ¥Ïî±Ë´Ë·Ö¸ô¿ªÀ´¡£¿ÉÒÔÖ¸¶¨ÏÔʾÔÚ¾²Ì¬»ò¶¯Ì¬²Ëµ¥µÄ¸ø¶¨¼¶±ð»òÈ«²¿¼¶±ðµÄ²Ëµ¥ÏîÖ®ÉÏ/ϵķָô·ûͼÏñ¡£¿ÉÒÔʹÓÃËĸöÊôÐÔÖ¸¶¨·Ö¸ô·ûͼÏñ£¬Á½¸öÓÃÓÚ¾²Ì¬²Ëµ¥ÏîµÄ¶¥²¿ºÍµ×²¿·Ö¸ô·û£¬Á½¸öÓÃÓÚ¶¯Ì¬²Ëµ¥ÏîµÄ¶¥²¿ºÍµ×²¿·Ö¸ô·û£º
·StaticTopSeparatorImageUrl
·StaticBottomSeparatorImageUrl
·DynamicTopSeparatorImageUrl
·DynamicBottomSeparatorImageUrl
ÏÂÃæµÄʾ


Ïà¹ØÎĵµ£º

Asp.net¶¯Ì¬×ª¾²Ì¬Ò³ÃæµÄÁ½ÖÖ·½·¨×ܽá

///Asp.net¶¯Ì¬×ª¾²Ì¬Ò³ÃæµÄÁ½ÖÖ·½·¨×ܽá
///ÓÉÓÚËÑË÷ÒýÇæ¶ÔaspxÒ³ÃæÊÕ¼ºÍhtmlÒ³ÃæµÄÊÕ¼ÂʵIJî±ðÒÔ¼°Ò³Ãæ×ÊÔ´Õ¼ÓÃÎÊÌ⣬ÎÒÃǺܶàʱºòÐèÒª
///ʵÏÖaspxÒ³Ã涯̬ת¾²Ì¬¡£Á½ÖÖÖ÷Á÷·½·¨ÈçÏ£º
///µÚÒ»ÕÅ·½·¨:
///ʹÓÃÄ£°åת»»£¬²½ÖèÈçÏ£º
///1£¬½¨Á¢Myconvert.cs ÀàÎļþ
using System;
//¼ÇµÃÌí¼ÓÒÔÏÂÈý¸öÒýÓÃ
using ......

ASP.NET MVC 2 RC ·¢²¼

ASP.NET MVCÊǼÌASP.NET WebFormsÖ®ºó£¬Î¢ÈíÍƳöµÄFront ControllerʽµÄWeb¿ª·¢Ä£ÐÍ£¬ËüÃÖ²¹ÁËÇ°Õ߶ÔHTML¿ØÖÆÄÜÁ¦²»×㣬µ¥Ôª²âÊÔ½ÏΪÀ§ÄѵÈȱµã¡£¸üÖØÒªµÄÊÇ£¬ASP.NET MVC»ùÓÚMS-PL·¢²¼£¬ÊÇÒ»¸öÕæÕýµÄ¿ªÔ´¿ò¼Ü——ÇÒûÓÐÈκÎƽ̨ÏÞÖÆ£¬Ò²¾ÍÊÇ˵£¬Äú¿ÉÒÔÔÚmonoÏÂʹÓûò¿ª·¢ASP.NET MVCµÄÏà¹ØÏîÄ¿¡£ ΢ÈíÔÚ½ñÄê3Ô ......

asp.netС֪ʶ


ºǫ́¸ø¿Ø¼þÌí¼Ójs·½·¨
this.btnOK.Attributes["onclick"] = "javascript:return confirm(\"È·¶¨±£´æ£¿\");";
»òÕß
<mce:script type="text/javascript"><!--
function shijian()
{
return confirm(\"È·¶¨±£´æ£¿\");
}
// --></mce:script>
this.btnOK.Attributes["onclick"] = "return sh ......

ÓÃASP.NETÉè¼Æ¸ßЧÓʼþÁбí

  ³ö´¦£º¶¯Ì¬ÍøÕ¾ÖÆ×÷Ö¸ÄÏ ×÷Õߣº¶¯Ì¬ÍøÕ¾ÖÆ×÷Ö¸ÄÏ Ê±¼ä£º2006-3-20 12:40:00
Ò»¸öÎüÒýÈ˵ġ¢¹¦ÄÜÍ걸µÄÍøÕ¾ÍùÍù¾ßÓÐÒÔÏÂÌØÕ÷£ºÒ»ÊÇÄÚÈݳäʵ¡¢ÊµÓã¬ÎüÒý¶Ô¸ÃÀàÄÚÈݸÉÐËȤµÄä¯ÀÀÕߣ»¶þÊÇÒ³ÃæÉèÖúÏÀí£¬Ò³ÃæÉè¼Æ¾«ÃÀ£»ÈýÊÇÍøÕ¾»¥¶¯ÐÔÇ¿£¬Óû§ºÍÍøÕ¾»òÕßÓû§ÓëÓû§Ö®¼ä½»Á÷·½±ã¸ßЧ£»ËÄÊÇÍøÕ¾ÄÚÈݸüм°Ê±²¢ÇÒ¿ ......

asp.net¶ÁÈ¡EXcelµÄСÌÖÂÛ

ÔÚCSÎļþÖУ¬Ê×ÏÈÔÚ¶¥²¿ÒýÈë²Ù×÷ExcelÊý¾ÝµÄÃüÃû¿Õ¼ä
using System.Data.OleDb;
Õýʽ´úÂëÈçÏ£º
    private void Button_Click(object sender, System.EventArgs e)
    {
        string thefullname = this.uploadFile.PostedFile.FileName;//»ñ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ