鈥?鈥濆簲鐢ㄧ▼搴忎腑鐨勬湇鍔″櫒閿欒銆侟hr width=100% size=1 color=silver>

绱㈠紩鍜岄暱搴﹀繀椤诲紩鐢ㄨ瀛楃涓插唴鐨勪綅缃€侟br>鍙傛暟鍚岤 length

璇存槑: 鎵ц褰撳墠 Web 璇锋眰鏈熼棿锛屽嚭鐜版湭缁忓鐞嗙殑寮傚父銆傝妫€鏌ュ爢鏍堣窡韪俊鎭紝浠ヤ簡瑙f湁鍏宠閿欒浠ュ強浠g爜涓鑷撮敊璇殑鍑哄鐨勮缁嗕俊鎭€

寮傚父璇︾粏淇℃伅: System.ArgumentOutOfRangeException: 绱㈠紩鍜岄暱搴﹀繀椤诲紩鐢ㄨ瀛楃涓插唴鐨勪綅缃€侟br>鍙傛暟鍚岤 length

婧愰敊璇?


琛 14:     string strm = Tools.CheckSql(Request.QueryString["m"]);
琛 15:     string strename = Tools.GetKeyWords(strm, "NodelEngDesc");//褰撳墠鏍忕洰鑻辨枃鍚嶇О
琛 16:     string strename1 = Tools.GetKeyWords(strm.Substring(0, 6), "NodelEngDesc");//涓€绾ф爮鐩嫳鏂囧悕绉
琛 17:     string strname = Tools.GetKeyWords(strm, "nodename");//褰撳墠鏍忕洰涓枃鍚嶇О
琛 18:     string strname1 = Tools.GetKeyWords(strm.Substring(0, 6), "nodename");//涓€绾ф爮鐩腑鏂囧悕绉?/pre>

                  

婧愭枃浠碟 d:\G-鍏夊崕\www\template\gdescribe.aspx    琛孃 16

鍫嗘爤璺熻釜:


[ArgumentOutOfRangeException: 绱㈠紩鍜岄暱搴﹀繀椤诲紩鐢ㄨ瀛楃涓插唴鐨勪綅缃€
鍙傛暟鍚岤 length]
   System.String.Substring(Int32 startIndex, Int32 length) +14504865
   ASP.template_gdescribe_aspx.__Render__control1(HtmlTextWriter __w, Control parameterContainer) in d:\G-鍏夊崕\www\template\gdescribe.aspx:16
   System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +131
   System.Web.UI.Page.Render(HtmlTextWriter writer) +40
   System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +150
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +5363


鐗堟湰淇℃伅: Microsoft .NET Framework 鐗堟湰:4.0.30319; ASP.NET 鐗堟湰:4.0.30319.36400
Baidu
sogou