Server Error in '/' Application.

Column 'ImageURL' does not belong to table tblResult.

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.ArgumentException: Column 'ImageURL' does not belong to table tblResult.

Source Error:


Line 60:                   if (banner.Rows.Count > 0)
Line 61:                   { %>
Line 62:                 <img id="title" src='<%=ConfigurationManager.AppSettings["ImagePath"]%>UserUpload/Gallery/<%= banner.Rows[0]["ImageURL"].ToString()%>'
Line 63:                     width="460" height="90" />
Line 64:                 <%} %>

Source File: d:\website\nimpe.vn\MasterPage.master    Line: 62

Stack Trace:


[ArgumentException: Column 'ImageURL' does not belong to table tblResult.]
   System.Data.DataRow.GetDataColumn(String columnName) +3075707
   System.Data.DataRow.get_Item(String columnName) +17
   ASP.masterpage_master.__Renderform1(HtmlTextWriter __w, Control parameterContainer) in d:\website\nimpe.vn\MasterPage.master:62
   System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +115
   System.Web.UI.HtmlControls.HtmlForm.RenderChildren(HtmlTextWriter writer) +253
   System.Web.UI.HtmlControls.HtmlForm.Render(HtmlTextWriter output) +87
   System.Web.UI.HtmlControls.HtmlForm.RenderControl(HtmlTextWriter writer) +53
   System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +240
   System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +240
   System.Web.UI.Page.Render(HtmlTextWriter writer) +38
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +4240


Version Information: Microsoft .NET Framework Version:2.0.50727.8966; ASP.NET Version:2.0.50727.8962