'/coding' ÀÀ¿ë ÇÁ·Î±×·¥¿¡ ¼­¹ö ¿À·ù°¡ ÀÖ½À´Ï´Ù.

À§Ä¡ 0¿¡ ÇàÀÌ ¾ø½À´Ï´Ù.

¼³¸í: ÇöÀç À¥ ¿äûÀ» ½ÇÇàÇÏ´Â µ¿¾È 󸮵ÇÁö ¾ÊÀº ¿¹¿Ü°¡ ¹ß»ýÇß½À´Ï´Ù. ½ºÅà ÃßÀûÀ» °ËÅäÇÏ¿© ¹ß»ýÇÑ ¿À·ù ¹× Äڵ忡¼­ ¿À·ù°¡ ¹ß»ýÇÑ À§Ä¡¿¡ ´ëÇÑ ÀÚ¼¼ÇÑ Á¤º¸¸¦ È®ÀÎÇϽʽÿÀ.

¿¹¿Ü Á¤º¸: System.IndexOutOfRangeException: À§Ä¡ 0¿¡ ÇàÀÌ ¾ø½À´Ï´Ù.

¼Ò½º ¿À·ù:


ÁÙ 14:     articleSeq = _util.TryConvert<int>(Request.QueryString["seq"], articleSeq);
ÁÙ 15:     ds = newsletter.lib.ViewNewsLetter(GetConnection(), articleSeq, true);
ÁÙ 16:     row = ds.Tables[0].Rows[0];
ÁÙ 17:   }
ÁÙ 18: </script>

¼Ò½º ÆÄÀÏ: c:\inetpub\wwwroot\andongfeel\coding\newsView.aspx    ÁÙ: 16

½ºÅà ÃßÀû:


[IndexOutOfRangeException: À§Ä¡ 0¿¡ ÇàÀÌ ¾ø½À´Ï´Ù.]
   System.Data.RBTree`1.GetNodeByIndex(Int32 userIndex) +1559262
   System.Data.RBTree`1.get_Item(Int32 index) +19
   System.Data.DataRowCollection.get_Item(Int32 index) +11
   ASP.newsview_aspx.Page_Load(Object sender, EventArgs e) in c:\inetpub\wwwroot\andongfeel\coding\newsView.aspx:16
   System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +14
   System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +35
   System.Web.UI.Control.OnLoad(EventArgs e) +99
   webgear.page.OnLoad(EventArgs e) in c:\inetpub\wwwroot\andongfeel\coding\App_Code\webgear.page.cs:19
   System.Web.UI.Control.LoadRecursive() +50
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +627


¹öÀü Á¤º¸: Microsoft .NET Framework ¹öÀü:2.0.50727.8972; ASP.NET ¹öÀü:2.0.50727.8962