Bazı vb-net-geç-bağlama işlemleri-dönüştürülecek-dönüştürülmemiş -Anlatım ağacı hataları VB.Net Late binding operations cannot be converted to an expression treeTür 'Store.WebUI.Entities.ShippingDetails' tanımlı değil & 'BeginForm' bir 'Html' üyesi değil
Ben yaklaşık hatayı düzeltmek
<%@ Page Language="vb" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage(Of Store.WebUI.Entities.ShippingDetails)" %>
için
<%@ Page Language="vb" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<Store.WebUI.Entities.ShippingDetails>" %>
sayfa kodu değiştirir geç bağlama-operasyonlar-can-dönüştürülemez-to -an-expressio n-tree Ama şimdi bu hatayı alıyorum. - Type 'Store.WebUI.Entities.ShippingDetails' tanımlanmadı. 12 5 - 'Bağlam' bir 'ASP.views_cart_checkout_aspx' üyesi değil. 12 5 - 'BeginForm' bir 'Html' üyesi değil. O sınıf Store.WebUI.Entities.ShippingDetails, başvuru var Færdiggør Ordre
<h2>Betaling</h2>
Venligst indtast dine personlige data og vi vil sende deres vare hurtigst muligt!
<% Using (Html.BeginForm())%>
<%: Html.ValidationSummary() %>
<h3>Sendes til</h3>
<div>Navn: <%: Html.EditorFor(Function(x) x.Name)%></div>
<h3>Adresse</h3>
<div>Linje 1: <%: Html.EditorFor(Function(x) x.Line1)%></div>
<div>Linje 2: <%: Html.EditorFor(Function(x) x.Line2)%></div>
<div>Linje 3: <%: Html.EditorFor(Function(x) x.Line3)%></div>
<div>Postnr: <%: Html.EditorFor(Function(x) x.Zip)%></div>
<div>By: <%: Html.EditorFor(Function(x) x.City)%></div>
<div>Landsdel: <%: Html.EditorFor(Function(x) x.Country)%></div>
<h3>Tilvalg</h3>
<label>
<%: Html.EditorFor(Function(x) x.GiftWrap)%>
Disse vare skal i Gaveindpakning.
</label>
<p align="center"><input type="submit" value="Færdiggør ordre" /></p>
<% End Using%>
Yardım edebilecek kimse yok. !? –