摘要:        
一天,我收到了一封有关我的博客的邮件,提出如下问题,简述如下:我想快速地创建一个站点地图,因此我重写了BuildSiteMap()方法,在里面我写了一个循环,用以添加一些仿造的sitemap节点。public override SiteMapNode BuildSiteMap(){ for (int i = 0; i < 5; i++) myRoot.ChildNodes.Add(new SiteMapNode(this, i.ToString(), i.ToString(), i.ToString())); return myRoot;}运行程序,就发生堆栈溢出,服务器也崩溃了。我用调    阅读全文
posted @ 2011-06-15 18:25
ph580
阅读(147)
评论(0)
推荐(0)
        
            
        
        
摘要:        
// Copyright (c) 2009, Baidu Inc. All rights reserved.// // Licensed under the BSD License// you may not use this file except in compliance with the License.// You may obtain a copy of the License at// // http:// tangram.baidu.com/license.html// // Unless required by applicable law or agreed to in w    阅读全文
posted @ 2011-06-15 18:19
ph580
阅读(772)
评论(0)
推荐(0)
        
 
                    
                
 浙公网安备 33010602011771号
浙公网安备 33010602011771号