Professional Documents
Culture Documents
Factory Response Report
Factory Response Report
Create Model.
Create Controller, Atomically creates the View.
Package Manager Console :
add-migration “initialsetup”
update-database
_Layout.cshtml
<li class="nav-item">
<a class="nav-link text-dark" asp-area="" asp-
controller="jokes" asp-action="ShowSearchForm">search</a>
</li>
</div>
<div>
@Html.TextBoxFor(m => m.File, new { type = "file" })
@Html.ValidationMessageFor(m => m.File)
</div>
@Html.ValidationMessageFor(m => m.Comments, "", new { @class = "text-
danger" })
</div>
----------------------------------------------------------------------------------------------
<div class="form-group">
<label for="comment"><b>Add Comments/Response</b></label>
<textarea name="Comments" class="form-control" rows="4" id="comment"
placeholder="Write Comments here.............." style="background-color:
#eff5f5"></textarea>
</div>
<div class="mt-3">
<b>Upload Documents</b>
<form>
<div class="file btn btn-sm ">
<input type="file" id="myFile" name="filename">
</div>
</form>
</div>
<div style="text-align:end">
<button class="btn btn-primary ">Save</button>
</div>
</div>
</div>
<div class="form-group">
<label ><b>Add Comments/Response</b></label>
@Html.TextAreaFor(m => m.Comments, new{@class = "form-control" })
@*<textarea name="Comments" class="form-control" rows="4" id="comment"
placeholder="Write Comments here.............." style="background-color:
#eff5f5"></textarea>*@
</div>
<div class="mt-3">
<b>Upload Documents</b>
<form>
<div class="file btn btn-sm ">
@Html.TextBoxFor(m => m.File, new { type = "file" })
@Html.ValidationMessageFor(m => m.File)
</div>
</form>
</div>
<div style="text-align:end">
@*<button class="btn btn-primary ">Save</button>*@
<button class="btn btn-primary " type="submit" data-
linkcategory="FactoryUserResonse1" data-linkname="FactoryUserResonse1" data-
link="FactoryUserResonse1">Submit</button>
</div>
</div>
}