Server Error in '/' Application.

There is no row at position 10.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.IndexOutOfRangeException: There is no row at position 10.

Source Error:


Line 56: 		</td>
Line 57: 		<td width="40">
Line 58: 			<a href='<%=Application["g_dir"]+"sortinfor/frame/frame_c.aspx?id="+myset.Tables["result"].Rows[10]["id"].ToString()+"&adId=NULL"%>' target="_blank" style="COLOR: #009900; TEXT-DECORATION: none" >
Line 59: 				ũҩ</a>
Line 60: 		</td>

Source File: E:\www\nnn\index\index_control\index_sortinfor.ascx    Line: 58

Stack Trace:


[IndexOutOfRangeException: There is no row at position 10.]
   System.Data.DataRowCollection.get_Item(Int32 index) +63
   ASP.index_sortinfor_ascx.__Render__control1(HtmlTextWriter __output, Control parameterContainer) in E:\www\nnn\index\index_control\index_sortinfor.ascx:58
   System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +27
   System.Web.UI.Control.Render(HtmlTextWriter writer) +7
   System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +243
   ASP.index_aspx.__RenderForm1(HtmlTextWriter __output, Control parameterContainer) in E:\www\nnn\index.aspx:266
   System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +27
   System.Web.UI.HtmlControls.HtmlForm.RenderChildren(HtmlTextWriter writer) +44
   System.Web.UI.HtmlControls.HtmlForm.Render(HtmlTextWriter output) +262
   System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +243
   System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +72
   System.Web.UI.Control.Render(HtmlTextWriter writer) +7
   System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +243
   System.Web.UI.Page.ProcessRequestMain() +1987


Version Information: Microsoft .NET Framework Version:1.1.4322.573; ASP.NET Version:1.1.4322.573