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

ASP.NET ASP.NET ·þÎñÆ÷¿Ø¼þµÄÑéÖ¤´íÎóÐÅÏ¢²¼¾Ö


      µ±´íÎóÐÅÏ¢³öÏÖÔÚÒ³ÉÏʱ£¬Ëü³ÉΪҳ²¼¾ÖµÄÒ»²¿·Ö¡£ÄúÐèÒªÉè¼ÆÒ³µÄ²¼¾ÖÒÔ·ÅÖÿÉÄܳöÏÖµÄÈκδíÎóÎı¾¡£
Èç¹ûÑéÖ¤ÔÚ·þÎñÆ÷ÉÏÖ´ÐУ¬Ôò³ý·Ç³öÏÖ´íÎ󣬷ñÔòÑéÖ¤¿Ø¼þ²»»á³ÊÏÖµ½Ò³£¬²¢Òò´Ë²»»áÕ¼ÓÃÈκοռ䡣Èç¹û³öÏÖ´íÎó£¬Ò³½«ÔÚÍù·µÆÚ¼äÖØд´½¨£¬²¢½«´íÎóÎı¾Ìí¼Óµ½Ò³¡£
Èç¹ûÓû§¾ßÓÐÖ§³Ö¶¯Ì¬ HTML (DHTML) ÑéÖ¤µÄä¯ÀÀÆ÷£¬ÔòÑéÖ¤¿ÉÒÔÔÚ¿Í»§¶ËÉ϶¯Ì¬·¢Éú¡£´Ëʱ£¬½«»áÁ¢¼´³öÏ־͵شíÎóÐÅÏ¢Îı¾£¬²¢¿ÉÄܸü¸ÄÒ³µÄ²¼¾Ö¡£
Òª¿ØÖÆÈçºÎÏÔʾ¿Í»§¶ËÑéÖ¤µÄ´íÎóÐÅÏ¢Îı¾£¬¿ÉÒÔ½«ÑéÖ¤¿Ø¼þµÄ Display ÊôÐÔÉèÖÃΪÒÔÏÂÈý¸öÑ¡ÏîÖ®Ò»£º
²¼¾ÖÑ¡Ïî
˵Ã÷
Static
¼´Ê¹Ã»Óпɼû´íÎóÐÅÏ¢Îı¾£¬Ã¿¸öÑéÖ¤¿Ø¼þÒ²½«Õ¼Óÿռ䣬ÔÊÐíÄúΪҳ¶¨Òå¹Ì¶¨µÄ²¼¾Ö¡£¶à¸öÑéÖ¤¿Ø¼þÎÞ·¨ÔÚÒ³ÉÏÕ¼ÓÃÏàͬ¿Õ¼ä£¬Òò´ËÄú±ØÐëÔÚÒ³Éϸøÿ¸ö¿Ø¼þÁô³öµ¥¶ÀµÄλÖá£ÕâÒ»ÉèÖÃÖ»ÔÚ Internet Explorer 4.0 »ò¸ü¸ß°æ±¾ÖÐÓÐЧ£¬ÔÚÆäËûä¯ÀÀÆ÷Öиò¼¾Ö½«±ä³É Dynamic¡£
Dynamic
³ý·ÇÏÔʾ´íÎóÐÅÏ¢£¬·ñÔòÑéÖ¤¿Ø¼þ½«²»»áÕ¼Óÿռ䣬ÕâÔÊÐí¿Ø¼þ¹²ÓÃͬһ¸öλÖã¨ÀýÈç±íµÄµ¥Ôª¸ñ£©¡£µ«ÔÚÏÔʾ´íÎóÐÅϢʱ£¬Ò³µÄ²¼¾Ö½«»á¸ü¸Ä£¬ÓÐʱ½«µ¼Ö¿ؼþ¸ü¸ÄλÖá£
None
ÑéÖ¤¿Ø¼þ²»ÔÚÒ³ÉϳöÏÖ¡£
      ˵Ã÷£º ¶¯Ì¬²¼¾ÖÐèÒªÖ§³Ö¶¯Ì¬ HTML (DHTML) µÄä¯ÀÀÆ÷¡£Èç¹ûÄúµÄ Web Ó¦ÓóÌÐò½«Óë²»Ö§³Ö DHTML µÄä¯ÀÀÆ÷Ò»ÆðʹÓ㬽¨Òé¸ÄΪÔÚÒ»¸ö±íµ¥Ôª¸ñ»ò Panel ¿Ø¼þÖжÔÑéÖ¤¿Ø¼þ½øÐв¼¾Ö¡£
 
Ò»¡¢ÈçºÎ£º¿ØÖÆ ASP.NET ·þÎñÆ÷¿Ø¼þµÄÑéÖ¤´íÎóÐÅÏ¢ÏÔʾ
ÏÔʾ·½·¨
˵Ã÷
ÄÚÁª
ÔڿؼþÅÔ±ßÑéÖ¤¿Ø¼þËùÔÚµÄλÖÃÏÔʾ´íÎóÐÅÏ¢¡£
ÕªÒª
ÔÚÒ»¸öº­¸ÇËùÓдíÎóµÄµ¥¶ÀÕªÒªÖÐÏÔʾ´íÎóÐÅÏ¢£¬¸Ã·½Ê½Ö»ÔÚÓû§Ìύҳʱ¿ÉÓ᣻òÕߣ¬¿ÉÒÔÔÚÏûÏ¢¿òÖÐÏÔʾ´íÎóÐÅÏ¢£¬µ«ÊÇ´ËÑ¡Ïî½öÔÚÖ§³Ö¶¯Ì¬ HTML (DHTML) µÄä¯ÀÀÆ÷ÖпÉÓá£
ÄÚÁªºÍÕªÒª
ͬһ´íÎóÐÅÏ¢µÄÕªÒªÏÔʾºÍÄÚÁªÏÔʾ¿ÉÄÜ»áÓÐËù²»Í¬¡£Äú¿ÉÒÔʹÓôËÑ¡ÏîÄÚÁªÏÔʾ½ÏΪ¼ò¶ÌµÄ´íÎóÐÅÏ¢£¬¶øÔÚÕªÒªÖÐÏÔʾ½ÏΪÏêϸµÄÐÅÏ¢£¬Ò²¿ÉÒÔÔÚÊäÈë×Ö¶ÎÅÔÏÔʾ´íÎó±êÖ¾·ûºÅ£¬¶øÔÚÕªÒªÖÐÏÔʾ´íÎóÐÅÏ¢¡£
×Ô¶¨Òå
Äú¿ÉÒÔ´´½¨Äú×Ô¼ºµÄ´íÎóÐÅÏ¢ÏÔʾ¡£
      Èç¹ûÒªÏÔʾ´íÎóÐÅÏ¢ÕªÒª£¬ÄúÐèÒª½«¿Ø¼þÌí¼Óµ½Ò³¡£
 
1.1¡¢ÏÔʾ´íÎóÐÅÏ¢ÕªÒª
1¡¢½« ValidationSummary ¿Ø¼þÌí¼Óµ½Ò³ÖÐÒªÏÔʾÊÕ¼¯µÄ´íÎóÐÅÏ¢µÄλÖÃÉÏ¡£
2¡¢ÉèÖõ¥¸öÑéÖ¤¿Ø¼þµÄ ErrorMessage ºÍ Display ÊôÐÔ¡£
3¡¢ÈôÒª¸ñʽ»¯´íÎóÐÅÏ¢£¬ÇëʹÓÃÔÚ ValidationSummaryDisplayMode


Ïà¹ØÎĵµ£º

ASP.NET ½«Êý¾Ý°ó¶¨µ½ TreeView Web ·þÎñÆ÷¿Ø¼þ


      ʹÓà ASP.NET TreeView ¿Ø¼þ¿ÉÒÔÇáËɵذ󶨵½Ö§³Ö IHierarchicalDataSource ½Ó¿ÚµÄÊý¾ÝÔ´£¬ÀýÈ磺XmlDataSource ÀàºÍ SiteMapDataSource Àà¡£´ËÍ⣬Äú»¹¿ÉÒÔÍêÈ«¿ØÖƽ«Êý¾ÝÔ´µÄÄÄЩ×Ö¶ÎÓÃÓÚ Text¡¢Value ºÍÆäËû TreeNode ÊôÐÔ¡£
 
Ò»¡¢°ó¶¨µ½ XML Îļþ
TreeView ¿Ø¼þÖ§³Öµ½ XML ......

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


      TreeView ¿Ø¼þ¾ßÓÐÐí¶à²»Í¬µÄÍâ¹Û£¬´Ó¶ø¿ÉÒÔÌṩÁé»îµÄͼÏñ×Ô¶¨ÒåÒÔ¼°Ö¸¶¨×Ô¶¨ÒåÓû§½çÃæ (UI) Ñ¡ÏîµÄÊôÐÔ¡£Äú¿ÉÒÔ½«Í¼ÏñÓë TreeView ¿Ø¼þÒ»ÆðʹÓÃÀ´±íʾ½Úµã¡¢Á¬½ÓÏßÒÔ¼°Õ¹¿ªºÍÕÛµþͼ±ê¡£»¹¿ÉÒÔʹÓà ImageSet ÊôÐÔÖÐÒ»×éÔ¤¶¨ÒåµÄͼÏñ£¬»òÕßͨ¹ýÉèÖø÷¸öͼÏñÊôÐÔÀ´Ê¹ÓÃ×Ô¶¨ÒåͼÏñ¡£
&nbs ......

Asp.net: GridView72¾ø¼¼

 
 
 
 
 
GridViewÎÞ´úÂë·ÖÒ³ÅÅÐò
GridViewÑ¡ÖУ¬±à¼­£¬È¡Ïû£¬É¾³ý
GridViewÕý·´Ë«ÏòÅÅÐò
GridViewºÍÏÂÀ­²Ëµ¥DropDownList½áºÏ
GridViewºÍCheckBox½áºÏ
Êó±êÒƵ½GridViewijһÐÐʱ¸Ä±ä¸ÃÐеı³¾°É«·½·¨Ò»
Êó±êÒƵ½GridViewijһÐÐʱ¸Ä±ä¸ÃÐеı³¾°É«·½·¨¶þ
GridViewʵÏÖɾ³ýʱµ¯³öÈ·ÈÏ ......

ÓÃ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ºÅ