<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl" %> <%@ Import Namespace="HLWebOKBQueryPlugin.Helpers" %> <%@ Import Namespace="System.Reflection" %>
<% foreach (PropertyInfo pi in typeof(RunCollectionData).GetProperties()) { %> <% } %> <% IList data = (IList) Session["QueryRuns"]; foreach (RunCollectionData rcd in data) { RouteValueDictionary rvd = new RouteValueDictionary(); rvd.Add("controller", "Query"); rvd.Add("id", rcd.Id); %> <% foreach (PropertyInfo pi in typeof(RunCollectionData).GetProperties()) { %> <% } %> <% } %>
 <%= pi.Name %>
<%: Html.ActionLink("details", "Details", rvd) %> <% try { %> <%= pi.GetValue(rcd, null).ToString()%> <% } catch (Exception e) { %>   <% } %>