- Timestamp:
- 05/21/11 22:07:58 (14 years ago)
- Location:
- branches/WebApplication/MVC2/HLWebOKBAdminPlugin/Views/Problem
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/WebApplication/MVC2/HLWebOKBAdminPlugin/Views/Problem/Detail.aspx
r6162 r6246 95 95 </tr> 96 96 </table> 97 <%: Html.ActionLink("back to Index","Index") %>97 98 98 <% } %> 99 100 <% using (Html.BeginForm("UploadFile", "Problem", FormMethod.Post, new { enctype = "multipart/form-data" })) 101 {%><br /> 102 <% Problem p = ((ProblemModel)Model).Problem; %> 103 <table border="1"> 104 <tr> 105 <td> 106 File: 107 </td> 108 <td> 109 <%: Html.Hidden("ProblemId", p.Id.ToString(), p.Id.ToString()) %> 110 <input type="file" name="files" id="file2" size="25" /> 111 </td> 112 </tr> 113 <tr> 114 <td> 115 Action: 116 </td> 117 <td> 118 <input type="submit" value="Upload file" /> 119 </td> 120 </tr> 121 </table> 122 <%: Html.ActionLink("back to Index","Index") %> 123 <% } %> 124 125 99 126 </asp:Content> -
branches/WebApplication/MVC2/HLWebOKBAdminPlugin/Views/Problem/Index.aspx
r6162 r6246 22 22 <tr> 23 23 <td> 24 <%: Html. ActionLink(p.Name, "Detail",new {p.Id})%>24 <%: Html.Label(p.Name)%> 25 25 </td> 26 26 <td> … … 29 29 <td> 30 30 <%: Html.Label(p.DataTypeName)%> 31 </td> 32 <td> 33 <%: Html.ActionLink("detail", "Detail", new { p.Id })%> 31 34 </td> 32 35 <td>
Note: See TracChangeset
for help on using the changeset viewer.