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

StartIndex 涓嶈兘灏忎簬 0銆侟br>鍙傛暟鍚岤 startIndex

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

寮傚父璇︾粏淇℃伅: System.ArgumentOutOfRangeException: StartIndex 涓嶈兘灏忎簬 0銆侟br>鍙傛暟鍚岤 startIndex

婧愰敊璇?


琛 56:                 ii += "'images/" + dt.Rows[i]["pic_pic"].ToString() + "',";
琛 57:             }
琛 58:             ii = ii.Remove(ii.LastIndexOf(","), 1);
琛 59:             Session["iimg"] = ii;
琛 60: 

婧愭枃浠碟 d:\inetpub\vhosts\magical-sh.com\httpdocs\M_huozuohuoban.aspx.cs    琛孃 58

鍫嗘爤璺熻釜:


[ArgumentOutOfRangeException: StartIndex 涓嶈兘灏忎簬 0銆
鍙傛暟鍚岤 startIndex]
   System.String.Remove(Int32 startIndex, Int32 count) +237
   M_huozuohuoban.Page_Load(Object sender, EventArgs e) in d:\inetpub\vhosts\magical-sh.com\httpdocs\M_huozuohuoban.aspx.cs:58
   System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +85
   System.Web.UI.Control.OnLoad(EventArgs e) +79
   System.Web.UI.Control.LoadRecursive() +130
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2853


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