Created
October 28, 2009 06:24
-
-
Save SaraJo/220295 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<Transportation.ViewModels.TransportationViewModel>" %> | |
<%@ Import Namespace="Transportation.Models" %> | |
<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server"> | |
ListVehicles | |
</asp:Content> | |
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server"> | |
<h2>List Vehicles</h2> | |
<h4>Cars:</h4> | |
<% foreach(Car c in Model.Cars) | |
{%> | |
Make: <b><%=c.Make %></b> | |
Model: <b><%=c.Model %></b> | |
<% } %> | |
<h4>Train:</h4> | |
<b><%=Model.Train.Line %></b> | |
<b><%=Model.Train.Schedule %></b> | |
</asp:Content> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment