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

ASP.net ×ÔÖÆTableTreeʵÏÖ

using System;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
namespace UserControl.UI
{
 /// <summary>
 /// TreesTable µÄժҪ˵Ã÷¡£
 /// </summary>
 public class TreesTable
 {
  public interface iTrees
  {
   void AddNode(Trees node);
   Control NodeItem{get;}
   Control Title{get;set;}
  }
      
  public class Trees:Control,iTrees
  {
   private Control m_TreeNodeCollect;
   private Control m_TitleControl;
   private string m_TextTitle;
   private HtmlTable m_HtmlTabe;
   private string m_script;
   private const string SCRIPT="<script language='javascript'>{0}</script>";
   
   public Trees()
   {
    m_TreeNodeCollect = new Control();
    m_HtmlTabe = new HtmlTable();
    //Java script
    m_script = string.Format(SCRIPT,
     "function ShowObject(showObjName){var showObj1=showObjName; if(showObj1.style.display=='none'){showObj1.style.display='block';}else{showObj1.style.display='none';}}");
   }
   
   public Trees(string title)
   {
    m_TreeNodeCollect = new Control();
    m_HtmlTabe = new HtmlTable();
    //Java script
    m_script = string.Format(SCRIPT,
     "function ShowObject(showObjName){var showObj1=showObjName; if(showObj1.style.display=='none'){showObj1.style.display='block';}else{showObj1.style.display='none';}}");
    TextTitle = title;
   }
   


Ïà¹ØÎĵµ£º

asp.netÒ³ÃæÊµÏֻسµµã»÷°´Å¥JavaScriptʵÏÖ

»Ø³µµã»÷°´Å¥
Ö»ÐèÔÚ.aspxÒ³Ãæ´úÂëÖмÓÈëÒ»¶ÎJavaScript¼´¿É£º
<script type="text/javascript" language="javascript">  
      document.onkeydown   =   Check;  
      function   Check(){ &n ......

ÔÚASP.NET 4ÖÐÈçºÎ×Ô¶¯Æô¶¯WebÓ¦Óã¿

ÓÐЩwebÓ¦ÓÃÔÚ¿ÉÒÔ´¦ÀíÓû§·ÃÎÊ֮ǰ£¬ÐèÒª×°ÔØºÜ¶àµÄÊý¾Ý£¬»ò×öһЩ»¨·ÑºÜ´óµÄ³õʼ»¯´¦Àí¡£½ñÌìʹÓà ASP.NET µÄ¿ª·¢ÈËÔ±¾­³£Ê¹ÓÃÓ¦ÓõÄGlobal.asax ÎļþÖÐµÄ “Application_Start”ʼþ´¦Àíº¯ÊýÀ´×öÕâЩ¹¤×÷£¨¸ÃʼþÊÇÔÚµÚÒ»¸öÇëÇóÖ´ÐÐʱ´¥·¢µÄ£©¡£ËûÃÇҪôÉè¼Æ¶¨Öƽű¾£¬ÖÜÆÚÐÔµØÏòÓ¦Ó÷¢¼ÙµÄÇëÇó£¬À´“»½Ð ......

SocketͨÐÅδÍê³É£¬×ÔѧASP.NETСÓгÉЧ£¬³õʶAjax

½øÈ¥º®¼Ù£¬ÓÉÓÚÒ»¸ö»ë»ëججµÄѧÆÚ½áÊøÁË£¬²»ÏëÁî×Ô¼º¼ÌÐø³ÁÄçÔÚÄÇ»èÌìºÚµØÖ®ÖУ¬ÓÚÊÇÈ¥Library½èÁËÒ»±¾ºÜºñºÜÖØµÄC# ASP.NETµÄÊ飬¸½¹âÅÌ¡£ÓÐȤµÄ£¬ÎÒÓÃÀúÀ´Ñ§Ï°¿Î±¾ÖªÊ¶µÄ·ÅѧѧϰC#ºÍÊìϤVS»·¾³£¬»¹×öÁ˲»ÉÙ¶ÁÊé±Ê¼Ç£¬°¥£¬ÕæµÄûÄǸö±ØÒª°¡£¬²»¹ý¿´ÁË1-2ÖÜÖ®ºó£¬¶ÔÓÚ·þÎñÆ÷¶Ë¿Ø¼þµÄÈ·ÊÇÊìϤ²»ÉÙ£¬¶ÔÓڱ߽߱ŽŵÄÒ»Ð©Ò³Ãæ ......

asp.netÊÊÓÃÓÚIE»òFireFoxµÄ½ûÓÃÒ³Ãæ»º´æµÄÖÕ¼«±ØÉ±¼¼

 
±¾ÎĽéÉܵÄÕâ¸ö¹¦ÄÜÊÇ£º½ûÓÃÒ³Ãæ»º´æµÄ½â¾ö·½·¨£¬ÊÊÓÃÓÚIEºÍFireFoxä¯ÀÀÆ÷Ï£¬ÔÚweb¿ª·¢ÖкÏÀíʹÓûº´æ¿ÉÒÔÓÐЧµÄÌá¸ßÍøÕ¾µÄÐÔÄÜ£¬µ«ÊÇÔÚijЩ³¡ºÏÏÂÒòΪ»º´æµÄ´æÔÚ»á´øÀ´ºÜ¶àµÄÎÊÌâ¡£ÀýÈ磺ÒòΪ»º´æµÄ´æÔÚ»áÔì³ÉÖØ¸´Ìá½»Êý¾ÝµÄÎÊÌ⣬ÑéÖ¤ÂëͼƬ²»ÄÜÕýÈ·ÏÔʾµÄÎÊÌ⣬µÈµÈ¡£Õâ¸öʱºòÎÒÃǾÍÒª½ûÓÃÒ³Ãæ»º´æµÄ¹¦ÄÜ¡£&nbs ......

ASP.NET postback£¨»Ø·¢£©ºóÈçºÎ±£³ÖÍøÒ³µÄλÖÃ

ͨ³£Çé¿öÏ£¬ASP.Net Ò³Ãæ PostBack£¨»Ø·¢£©ºó£¬Ò³ÃæÒ»°ã¶¨Î»ÔÚÕû¸öÍøÒ³µÄ¶¥²¿!µ«ÎÒÃÇÔÚʵ¼ÊÏîÄ¿Öо­³£ÐèÒª£¬»Ø·¢ºóÄܶ¨Î»µ½×Ô¼º¸Õ¸Õµã»÷Ìá½»°´Å¥Î»Öã¬ÄÇÕâÖÖÇé¿öÈçºÎʵÏÖÄØ£¬ÏÂÃæ½éÉÜÈýÖÖʵÏÖЩ¹¦Äܵķ½·¨
 
Ò»¡¢Ó¦ÓóÌÐò¼¶ÉèÖãºÔÚweb.configÖÐÔö¼ÓÒ»¸öpages½Úµã
      <pages main ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ