Imports SystemImports System.Collections.GenericImports System.LinqImports System.TextImports System.ComponentModel.DataAnnotationsNamespace Store.WebUI.Entities Public Class ShippingDetails <Required(ErrorMessage:="Venligst skriv et Navn.")> _ Public Property Name() As String Get Return m_Name End Get Set(ByVal value As String) m_Name = value End Set End Property Private m_Name As String <Required(ErrorMessage:="Venligst udfyld 1. adresse linje.")> _ Public Property Line1() As String Get Return m_Line1 End Get Set(ByVal value As String) m_Line1 = value End Set End Property Private m_Line1 As String Public Property Line2() As String Get Return m_Line2 End Get Set(ByVal value As String) m_Line2 = value End Set End Property Private m_Line2 As String Public Property Line3() As String Get Return m_Line3 End Get Set(ByVal value As String) m_Line3 = value End Set End Property Private m_Line3 As String <Required(ErrorMessage:="Venligst indtast Postnr.")> _ Public Property Zip() As String Get Return m_Zip End Get Set(ByVal value As String) m_Zip = value End Set End Property Private m_Zip As String <Required(ErrorMessage:="Venligst indtast Bynavn.")> _ Public Property City() As String Get Return m_City End Get Set(ByVal value As String) m_City = value End Set End Property Private m_City As String <Required(ErrorMessage:="Venligst indtast Landsdel.")> _ Public Property Country() As String Get Return m_Country End Get Set(ByVal value As String) m_Country = value End Set End Property Private m_Country As String Public Property GiftWrap() As Boolean Get Return m_GiftWrap End Get Set(ByVal value As Boolean) m_GiftWrap = value End Set End Property Private m_GiftWrap As Boolean End ClassEnd Namespace
But found the error
<%@ Page Language="vb" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage(Of Store.WebUI.Entities.ShippingDetails)" %>
0
tjgrindstedAuthor Commented:
no
0
Question has a verified solution.
Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.