locked
what's wrong? RRS feed

  • Question

  • User-370442405 posted

    startIndex 不能大于字符串长度。
    参数名: startIndex

    [ArgumentOutOfRangeException: startIndex 不能大于字符串长度。
    参数名: startIndex]
       System.String.InternalSubStringWithChecks(Int32 startIndex, Int32 length, Boolean fAlwaysCopy) +2915211
       System.Web.UI.WebControls.CheckBoxList.LoadPostData(String postDataKey, NameValueCollection postCollection) +54
       System.Web.UI.WebControls.CheckBoxList.System.Web.UI.IPostBackDataHandler.LoadPostData(String postDataKey, NameValueCollection postCollection) +11
       System.Web.UI.Page.ProcessPostData(NameValueCollection postData, Boolean fBeforeLoad) +353
       System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1575

    Wednesday, May 28, 2008 9:14 AM

Answers

All replies

  • User794834512 posted

    I understand the exception.

     

    send us the codec what can anyalize from exception

     

    Wednesday, May 28, 2008 9:22 AM
  • User2064313513 posted

    Its hard to say because u have some japanese characters in your post but if the index is out of range i would say you are trying to reference an array (or something like it) at a spot where there is no data. if you have an array with 3 values and you do  myArray[10].toString(); you will get an error because you index is outside the limits of the array.

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Wednesday, May 28, 2008 9:23 AM
  • User923592544 posted

     Hi post it english so everybody can undestand it properly.

    By just follow this link for you problem.

    http://msdn.microsoft.com/ja-jp/library/system.argumentoutofrangeexception(VS.80).aspx

    http://www1.cs.columbia.edu/~lok/csharp/refdocs/System/types/ArgumentOutOfRangeException.html

    Respond if I miss understood you.[:D]

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Wednesday, May 28, 2008 9:24 AM
  • User-1399914977 posted
    You are trying to access a value which is out of range.
    Wednesday, May 28, 2008 9:29 AM
  • User-1290265400 posted
    at  least one parameter does not pass the value when you call the method.<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p></o:p>
    Wednesday, May 28, 2008 9:40 AM