Server Error in '/' Application.

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

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 'Bicchiere'.

Source Error:


Line 40:                                                 <li>
Line 41: 										            <i class="fa fa-3x pull-right fa-primary"></i>										            
Line 42:                                                     <h6><asp:Image runat="server" id="imgBicchiere" ImageUrl='<%# "public/bicchieri/"+(Convert.IsDBNull(DataBinder.Eval(Container.DataItem, "IdBicchiere")) ? "-" : DataBinder.Eval(Container.DataItem, "IdBicchiere"))+"/"+(Convert.IsDBNull(DataBinder.Eval(Container.DataItem, "Foto")) ? "-" : DataBinder.Eval(Container.DataItem, "Foto")) %>'></asp:Image>&nbsp;<%# (Convert.IsDBNull(DataBinder.Eval(Container.DataItem, "Bicchiere" + Session["Lingua"])) ? "-" : DataBinder.Eval(Container.DataItem, "Bicchiere" + Session["Lingua"]))%></h6>
Line 43: 										            <p>                                                   
Line 44: 										            <%# (Convert.IsDBNull(DataBinder.Eval(Container.DataItem, "Descrizione" + Session["Lingua"])) ? "-" : DataBinder.Eval(Container.DataItem, "Descrizione" + Session["Lingua"]))%>

Source File: d:\inetpub\webs\microbirrificiorg\beer_glass.aspx    Line: 42

Stack Trace:


[HttpException (0x80004005): DataBinding: 'System.Data.DataRowView' does not contain a property with the name 'Bicchiere'.]
   System.Web.UI.DataBinder.GetPropertyValue(Object container, String propName) +8765493
   System.Web.UI.DataBinder.Eval(Object container, String[] expressionParts) +92
   System.Web.UI.DataBinder.Eval(Object container, String expression) +106
   ASP.beer_glass_aspx.__DataBind__control6(Object sender, EventArgs e) in d:\inetpub\webs\microbirrificiorg\beer_glass.aspx:42
   System.Web.UI.Control.OnDataBinding(EventArgs e) +99
   System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding) +92
   System.Web.UI.Control.DataBind() +15
   System.Web.UI.Control.DataBindChildren() +211
   System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding) +102
   System.Web.UI.Control.DataBind() +15
   System.Web.UI.Control.DataBindChildren() +211
   System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding) +102
   System.Web.UI.Control.DataBind() +15
   System.Web.UI.WebControls.GridView.CreateRow(Int32 rowIndex, Int32 dataSourceIndex, DataControlRowType rowType, DataControlRowState rowState, Boolean dataBind, Object dataItem, DataControlField[] fields, TableRowCollection rows, PagedDataSource pagedDataSource) +155
   System.Web.UI.WebControls.GridView.CreateChildControls(IEnumerable dataSource, Boolean dataBinding) +2417
   System.Web.UI.WebControls.CompositeDataBoundControl.PerformDataBinding(IEnumerable data) +57
   System.Web.UI.WebControls.GridView.PerformDataBinding(IEnumerable data) +14
   System.Web.UI.WebControls.DataBoundControl.OnDataSourceViewSelectCallback(IEnumerable data) +114
   System.Web.UI.DataSourceView.Select(DataSourceSelectArguments arguments, DataSourceViewSelectCallback callback) +31
   System.Web.UI.WebControls.DataBoundControl.PerformSelect() +142
   System.Web.UI.WebControls.BaseDataBoundControl.DataBind() +73
   System.Web.UI.WebControls.GridView.DataBind() +4
   beer_glass.LoadBicchieri() in d:\inetpub\webs\microbirrificiorg\beer_glass.aspx.cs:39
   beer_glass.Page_Load(Object sender, EventArgs e) in d:\inetpub\webs\microbirrificiorg\beer_glass.aspx.cs:14
   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
   System.Web.UI.Control.LoadRecursive() +50
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +627


Version Information: Microsoft .NET Framework Version:2.0.50727.9174; ASP.NET Version:2.0.50727.9175