Server Error in '/' Application.

DataBinding: 'System.Data.DataRowView' does not contain a property with the name 'docs'.

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.Web.HttpException: DataBinding: 'System.Data.DataRowView' does not contain a property with the name 'docs'.

Source Error:


Line 32:                     <td><%# Eval("CTitle") %></td>
Line 33:                     <td class="text-center"><%# Convert.ToDateTime( Eval("Created_at")).ToString("dd-MM-yyyy") %></td>
Line 34:                     <td class="text-center"><a class="btn btn-sm btn-primary" target="_blank" href='<%# Eval("docs","/files/circulars/{0}") %>'><i class="fa fa-download"></i>&nbsp;Download</a></td>
Line 35:                 </tr>
Line 36:             </ItemTemplate>

Source File: C:\Inetpub\vhosts\saurashtrauniversity.edu\httpdocs\student-circulars.aspx    Line: 34

Stack Trace:


[HttpException (0x80004005): DataBinding: 'System.Data.DataRowView' does not contain a property with the name 'docs'.]
   System.Web.UI.DataBinder.GetPropertyValue(Object container, String propName) +299
   System.Web.UI.DataBinder.Eval(Object container, String[] expressionParts) +90
   System.Web.UI.DataBinder.Eval(Object container, String expression, String format) +35
   ASP.student_circulars_aspx.__DataBind__control5(Object sender, EventArgs e) in C:\Inetpub\vhosts\saurashtrauniversity.edu\httpdocs\student-circulars.aspx:34
   System.Web.UI.Control.OnDataBinding(EventArgs e) +99
   System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding) +174
   System.Web.UI.Control.DataBindChildren() +249
   System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding) +191
   System.Web.UI.WebControls.Repeater.CreateItem(Int32 itemIndex, ListItemType itemType, Boolean dataBind, Object dataItem) +175
   System.Web.UI.WebControls.Repeater.AddDataItemsIntoItemsArray(IEnumerable dataSource, Boolean useDataSource) +297
   System.Web.UI.WebControls.Repeater.PostGetDataAction(IEnumerable dataSource) +113
   System.Web.UI.WebControls.Repeater.OnDataBinding(EventArgs e) +80
   student_circulars.GetCirculars() in C:\Inetpub\vhosts\saurashtrauniversity.edu\httpdocs\student-circulars.aspx.cs:23
   student_circulars.Page_Load(Object sender, EventArgs e) in C:\Inetpub\vhosts\saurashtrauniversity.edu\httpdocs\student-circulars.aspx.cs:14
   System.Web.UI.Control.OnLoad(EventArgs e) +99
   System.Web.UI.Control.LoadRecursive() +154
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +4082


Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.8.4700.0