以文本方式查看主题

-  Foxtable(狐表)  (http://foxtable.com/bbs/index.asp)
--  专家坐堂  (http://foxtable.com/bbs/list.asp?boardid=2)
----  不能大于字符串长度  (http://foxtable.com/bbs/dispbbs.asp?boardid=2&id=77384)

--  作者:czy66ds
--  发布时间:2015/11/17 14:32:00
--  不能大于字符串长度
“不能大于字符串长度”-------从哪个角度去考虑纠正?

.NET Framework 版本:2.0.50727.5485
Foxtable 版本:2015.11.2.1
错误所在事件:窗口,导航栏,TreeViewTPNM,AfterSelectNode
详细错误信息:
System.ArgumentOutOfRangeException: startIndex 不能大于字符串长度。
参数名: startIndex
   在 System.String.InternalSubStringWithChecks(Int32 startIndex, Int32 length, Boolean fAlwaysCopy)
   在 UserCode.AqR3ITTFp1r7wW6Do(TreeViewEventArgs e)

--  作者:大红袍
--  发布时间:2015/11/17 14:40:00
--  
贴出你事件里写的代码。基本是substring函数参数有问题。
--  作者:czy66ds
--  发布时间:2015/11/17 14:47:00
--  
指示的方向有道理,我去按图索骥,谢谢