Last active
January 25, 2020 18:40
-
-
Save CoreProgramm/fcdea73b228178fbbf2b0329c6a40bdd to your computer and use it in GitHub Desktop.
Import and Export Excel file in ASP .NET Core 3.1 razor page
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<form asp-controller="Home" asp-action="Export"> | |
<div class="container"> | |
<div class="row"> | |
<div class="col-md-4"> | |
<input type="file" id="fileupload" name="files" class="form-control" /> | |
</div> | |
<div class="col-md-3"> | |
<input type="button" name="Upload" value="Upload" id="btnupload" class="btn btn-primary" /> | |
<a href="@Url.Action("Download", "Home")">Download</a> | |
</div> | |
<div class="col-md-5"> | |
<input type="submit" name="Export" value="Create and Export" id="btnExport" | |
class="btn btn-primary" asp-action="Export" /> | |
</div> | |
</div> | |
<div class="clearfix"> </div> | |
<div class="row"> | |
<div id="divPrint"></div> | |
</div> | |
</div> | |
</form> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment