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

绱㈠紩瓒呭嚭鑼冨洿銆傚繀椤讳负闈炶礋鍊煎苟灏忎簬闆嗗悎澶у皬銆侟br>鍙傛暟鍚岤 index

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

寮傚父璇︾粏淇℃伅: System.ArgumentOutOfRangeException: 绱㈠紩瓒呭嚭鑼冨洿銆傚繀椤讳负闈炶礋鍊煎苟灏忎簬闆嗗悎澶у皬銆侟br>鍙傛暟鍚岤 index

婧愰敊璇?


琛 35:         if (currentindex != 0)
琛 36:         {
琛 37:             ntid = list[currentindex - 1].ClassId;
琛 38:         }
琛 39:         else

婧愭枃浠碟 f:\usr\localuser\qxw1608450018\case.aspx.cs    琛孃 37

鍫嗘爤璺熻釜:


[ArgumentOutOfRangeException: 绱㈠紩瓒呭嚭鑼冨洿銆傚繀椤讳负闈炶礋鍊煎苟灏忎簬闆嗗悎澶у皬銆
鍙傛暟鍚岤 index]
   System.ThrowHelper.ThrowArgumentOutOfRangeException() +72
   System.Collections.Generic.List`1.get_Item(Int32 index) +34
   Index.Page_Load(Object sender, EventArgs e) in f:\usr\localuser\qxw1608450018\case.aspx.cs:37
   System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +51
   System.Web.UI.Control.OnLoad(EventArgs e) +92
   System.Web.UI.Control.LoadRecursive() +54
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +772


鐗堟湰淇℃伅: Microsoft .NET Framework 鐗堟湰:4.0.30319; ASP.NET 鐗堟湰:4.0.30319.34209