Line 1: #pragma checksum "C:\home\site\wwwroot\Areas\ukcompanies\Views\ukcompanies\county.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "9713391E0D3E7209F59260B6EB8707D44D3F4789"
Line 2: //------------------------------------------------------------------------------
Line 3: // <auto-generated>
Line 4: // This code was generated by a tool.
Line 5: // Runtime Version:4.0.30319.42000
Line 6: //
Line 7: // Changes to this file may cause incorrect behavior and will be lost if
Line 8: // the code is regenerated.
Line 9: // </auto-generated>
Line 10: //------------------------------------------------------------------------------
Line 11:
Line 12: namespace ASP {
Line 13: using System;
Line 14: using System.Collections.Generic;
Line 15: using System.IO;
Line 16: using System.Linq;
Line 17: using System.Net;
Line 18: using System.Web;
Line 19: using System.Web.Helpers;
Line 20: using System.Web.Security;
Line 21: using System.Web.UI;
Line 22: using System.Web.WebPages;
Line 23: using System.Web.Mvc;
Line 24: using System.Web.Mvc.Ajax;
Line 25: using System.Web.Mvc.Html;
Line 26: using System.Web.Optimization;
Line 27: using System.Web.Routing;
Line 28:
Line 29: #line 1 "C:\home\site\wwwroot\Areas\ukcompanies\Views\ukcompanies\county.cshtml"
Line 30: using System.Data;
Line 31:
Line 32: #line default
Line 33: #line hidden
Line 34:
Line 35: #line 2 "C:\home\site\wwwroot\Areas\ukcompanies\Views\ukcompanies\county.cshtml"
Line 36: using redware.ukcompanies;
Line 37:
Line 38: #line default
Line 39: #line hidden
Line 40:
Line 41:
Line 42: public class _Page_Areas_ukcompanies_Views_ukcompanies_county_cshtml : System.Web.Mvc.WebViewPage<creditscorecardmvc.Areas.ukcompanies.Models.DataTableModel> {
Line 43:
Line 44: #line hidden
Line 45:
Line 46: public _Page_Areas_ukcompanies_Views_ukcompanies_county_cshtml() {
Line 47: }
Line 48:
Line 49: protected ASP.global_asax ApplicationInstance {
Line 50: get {
Line 51: return ((ASP.global_asax)(Context.ApplicationInstance));
Line 52: }
Line 53: }
Line 54:
Line 55: public override void Execute() {
Line 56:
Line 57: #line 5 "C:\home\site\wwwroot\Areas\ukcompanies\Views\ukcompanies\county.cshtml"
Line 58: Write(Html.Partial("_HtmlModelPagePartialView", Model.opage));
Line 59:
Line 60:
Line 61: #line default
Line 62: #line hidden
Line 63: WriteLiteral("\r\n\r\n");
Line 64:
Line 65:
Line 66: #line 7 "C:\home\site\wwwroot\Areas\ukcompanies\Views\ukcompanies\county.cshtml"
Line 67: if (Model.dt == null || Model.dt.Rows.Count == 0)
Line 68: {
Line 69:
Line 70:
Line 71: #line default
Line 72: #line hidden
Line 73: WriteLiteral(" <p");
Line 74:
Line 75: WriteLiteral(" class=\"alert alert-warning\"");
Line 76:
Line 77: WriteLiteral(">Cannot find any wards for this county.</p>\r\n");
Line 78:
Line 79:
Line 80: #line 10 "C:\home\site\wwwroot\Areas\ukcompanies\Views\ukcompanies\county.cshtml"
Line 81: }
Line 82: else
Line 83: {
Line 84:
Line 85:
Line 86: #line default
Line 87: #line hidden
Line 88: WriteLiteral(" <table>\r\n");
Line 89:
Line 90:
Line 91: #line 14 "C:\home\site\wwwroot\Areas\ukcompanies\Views\ukcompanies\county.cshtml"
Line 92:
Line 93:
Line 94: #line default
Line 95: #line hidden
Line 96:
Line 97: #line 14 "C:\home\site\wwwroot\Areas\ukcompanies\Views\ukcompanies\county.cshtml"
Line 98: foreach (DataRow dr in Model.dt.Rows)
Line 99: {
Line 100:
Line 101:
Line 102: #line default
Line 103: #line hidden
Line 104: WriteLiteral(" <tr>\r\n <td>");
Line 105:
Line 106:
Line 107: #line 17 "C:\home\site\wwwroot\Areas\ukcompanies\Views\ukcompanies\county.cshtml"
Line 108: Write(Convert.ToString(dr["cdistrict"]));
Line 109:
Line 110:
Line 111: #line default
Line 112: #line hidden
Line 113: WriteLiteral("</td>\r\n <td><a");
Line 114:
Line 115: WriteAttribute("href", Tuple.Create(" href=\"", 496), Tuple.Create("\"", 625)
Line 116: , Tuple.Create(Tuple.Create("", 503), Tuple.Create<System.Object, System.Int32>(Href("~/ukcompanies/ward/")
Line 117: , 503), false)
Line 118:
Line 119: #line 18 "C:\home\site\wwwroot\Areas\ukcompanies\Views\ukcompanies\county.cshtml"
Line 120: , Tuple.Create(Tuple.Create("", 522), Tuple.Create<System.Object, System.Int32>(Convert.ToString(dr["cwardcode"])
Line 121:
Line 122: #line default
Line 123: #line hidden
Line 124: , 522), false)
Line 125: , Tuple.Create(Tuple.Create("", 556), Tuple.Create("/", 556), true)
Line 126:
Line 127: #line 18 "C:\home\site\wwwroot\Areas\ukcompanies\Views\ukcompanies\county.cshtml"
Line 128: , Tuple.Create(Tuple.Create("", 557), Tuple.Create<System.Object, System.Int32>(BootstapToolbox.GetUrlStrippedString(Convert.ToString(dr["cward"]))
Line 129:
Line 130: #line default
Line 131: #line hidden
Line 132: , 557), false)
Line 133: );
Line 134:
Line 135: WriteLiteral(">");
Line 136:
Line 137:
Line 138: #line 18 "C:\home\site\wwwroot\Areas\ukcompanies\Views\ukcompanies\county.cshtml"
Line 139: Write(Convert.ToString(dr["cward"]));
Line 140:
Line 141:
Line 142: #line default
Line 143: #line hidden
Line 144: WriteLiteral("</a></td>\r\n </tr>\r\n");
Line 145:
Line 146:
Line 147: #line 20 "C:\home\site\wwwroot\Areas\ukcompanies\Views\ukcompanies\county.cshtml"
Line 148: }
Line 149:
Line 150:
Line 151: #line default
Line 152: #line hidden
Line 153: WriteLiteral(" </table>\r\n");
Line 154:
Line 155:
Line 156: #line 22 "C:\home\site\wwwroot\Areas\ukcompanies\Views\ukcompanies\county.cshtml"
Line 157:
Line 158: }
Line 159:
Line 160:
Line 161: #line default
Line 162: #line hidden
Line 163: WriteLiteral("\r\n");
Line 164:
Line 165: }
Line 166: }
Line 167: }
Line 168:
|