This commit is contained in:
Paul Schneider
2014-10-12 15:22:45 +02:00
parent 83ac08cfd4
commit 1606fd0871
17 changed files with 136 additions and 90 deletions

View File

@ -3,9 +3,9 @@
<%= Html.ValidationSummary("Restore a database backup") %>
<% using (Html.BeginForm("Restore")) { %>
<% string [] bckdirs = Model.GetBackupDirs(); %>
<% string [] bcfiles = (string[]) ViewData["Backups"]; %>
<select name="backupName">
<% foreach (string s in bckdirs)
<% foreach (string s in bcfiles)
{
%>
<option value="<%=s%>"><%=s%></option>