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

ExtJs¶¯Ì¬Ê÷(»ùÓÚAsp.net)

ż¶ûʹÓÃ,¼òµ¥µÄ¼Ç¼Ï¹ý³Ì
1.ÏÂÔØNewtonsoft.Json.Net20.dllºó,·ÅÈëAsp.netÏîÄ¿BinÎļþ¼ÐÖÐ.
   Newtonsoft.Json.Net20,ÊÇÒ»¸öObject/Jsonת»»¹¤¾ß,ÕâÀïÓÃÀ´°Ñ¶ÔÏóת»»³ÉJson¸ñʽ×Ö·û´®.
2.Ê÷½ÚµãModel¶ÔÏó,
  public class TreeModel{
        private string _id,_parentid, _text;
        private bool _leaf;
        private List<TreeModel> _children = new List<TreeModel>();//×ӽڵ㼯ºÏ
      
        public string id{
            get { return _id; }
            set { _id = value;}
        }
     
        public string parentid{
            get { return _parentid; }
            set { _parentid = value; }
        }
        public string text{
            get { return _text; }
            set { _text = value; }
        }
        public bool leaf{
            get { return _leaf; }
            set { _leaf = value; }
        }
       
        public List<TreeModel> children{
            get { return _children; }
    &nb


Ïà¹ØÎĵµ£º

ASP.NETÒ³Ãæ¶ÔÏó

   »ñÈ¡ÇëÇóµÄÒ³µÄ HttpRequest ¶ÔÏó¡£
Ò»¡¢HttpRequest Àà
ʹ ASP.NET Äܹ»¶ÁÈ¡¿Í»§¶ËÔÚ Web ÇëÇóÆÚ¼ä·¢Ë굀 HTTP Öµ¡£
      ÏÂÃæµÄ´úÂëʾÀýʹÓà StreamWriter ÀཫÈô¸É HttpRequest ÀàÊôÐÔÖµµÄֵдÈëÎļþ¡£¶ÔÓÚÊÇ×Ö·û´®ÀàÐ͵ÄÊôÐÔ£¬ÊôÐÔÖµ±»Ð´ÈëÎļþʱ½«±»±àÂëΪ HTML¡£±íʾ¼¯ºÏµ ......

asp.net¶ÔͼƬµÄ¶Áд

 Ð´Í¼Æ¬c:\1.jpgµ½±ícinfoÖÐ
private static void AddCinfo()
    {
        string strSql = "insert into cinfo (srvtitle,csttitle,introduction,logo) values
(@srvtitle,@csttitle,@introduction,@logo)";
        S ......

ASP.NETÒ³Ãæ¶ÔÏó

          »ñÈ¡ ASP.NET ÌṩµÄµ±Ç° Session ¶ÔÏó ( HttpSessionState Àà )¡£¸ÃÊôÐÔÌṩÓйص±Ç°ÇëÇóµÄ»á»°µÄÐÅÏ¢¡£Îª´Ó ASP.NET Ó¦ÓóÌÐòÇëÇóÒ³»òÎĵµµÄÿ¸öÓû§Î¬»¤Ò»¸ö Session ¶ÔÏó¡£µ±Óû§ÔÚÓ¦ÓóÌÐòÖдÓÒ»Ò³ÒÆ¶¯µ½Áíһҳʱ£¬´æ´¢ÔÚ Session ¶ÔÏóÖеıäÁ¿²»»á±»·ÅÆú£»Ïà ......

asp.netÖÐapp_codeºÍbinÎļþ¼Ð½éÉÜ

       Èç¹ûÄúµÄ Web Ó¦ÓóÌÐò°üÀ¨ÒªÔÚ¶à¸öÒ³Ö®¼ä¹²ÏíµÄ´úÂ룬Äú¿ÉÒÔ½«´úÂë±£´æÔÚ Web Ó¦ÓóÌÐò¸ùĿ¼ÏµÄÁ½¸öÌØÊâÎļþ¼Ð£¨Bin Îļþ¼ÐºÍ App_Code Îļþ¼Ð£©ÖеÄij¸öÎļþ¼ÐÖС£
Bin Îļþ¼Ð
      ¿ÉÒÔÔÚ Bin Îļþ¼ÐÖд洢±àÒëµÄ³ÌÐò¼¯£¬²¢ÇÒ Web Ó¦ÓóÌÐòÈÎÒâ´¦µ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ