你的 stations 对象 是个LINQ对象。
下面的 SELECT [t0].[stid] AS [stID], [t0].[title] AS [Title], [t0].[la] AS [Latitude], [t0].[lo] AS [Longitude], [t0].[bdate] AS [Description] FROM [dbo].[Stations] AS [t0] INNER JOIN [dbo].[NearestStation](@p0, @p1) AS [t1] ON [t0].[stid] = [t1].[stid] ORDER BY [t0].[stid]
就是LINQ转换的SQL 语句。
做法:
1:aspx 页面 : System.Web.Mvc.ViewPage
<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage
ViewPage 是一个泛型的类。 你指定下你的Model Station。
2:<%: Html.LabelFor(model => model.属性) %>
属性 应该是你定义的Station Model 的属性。 自己去替换吧。
你前台怎么获取的?