Change projects to .net 6.0

This commit is contained in:
luosheng
2023-02-11 09:52:13 +08:00
parent 30a8b54245
commit 371ee48a7b
506 changed files with 337 additions and 112340 deletions

View File

@@ -1,42 +0,0 @@
@model TripleAdd.Models.TripleAddViewModel
@{
ViewBag.Title = "Triple Add";
}
@using (Ajax.BeginForm((string)ViewBag.Method, "Home", new AjaxOptions()
{
HttpMethod = "POST",
InsertionMode = InsertionMode.Replace,
OnSuccess = "Reload(data)",
OnFailure = "DisplayError(data)"
}))
{
<div class="col-md-12 form-inline form-group" style="margin-top: 20px; padding-top: 5px; background-color: #E5E1DB">
<label>
@Html.TextBoxFor(p => p.Add1, new {@id="add1", Class = "form-control input-lg" })
</label>
<label style="font-size: 20px">+</label>
<label>
@Html.TextBoxFor(p => p.Add2, new {@id="add2", Class = "form-control input-lg" })
</label>
<label style="font-size: 20px">+</label>
<label>
@Html.TextBoxFor(p => p.Add3, new {@id="add3", Class = "form-control input-lg" })
</label>
<label style="font-size: 20px">=</label>
<label>
@Html.TextBoxFor(p => p.Ans, new {@id="ans", Class = "form-control input-lg", @disabled="disabled"})
</label>
</div>
<div class="col-md-12 form-group">
<div class="col-md-2">
<button type="submit" class="form-control btn btn-success btn-lg">Calc</button>
</div>
</div>
}
<br/>
@section scripts {
<script src="~/Scripts/refresh.js"></script>
}