<form asp-controller="Controller" asp-action="PostData"> <input id="f0" name="f0" form="TableF" class="btn btn-primary" type="submit" value="12:00 PM"/> </form>