I have an asp page containing a form with two fields where the client is supposed to write his/her information.
<td><%=Html.TextBox("Date")%></td>
<td><%=Html.TextBox("City")%></td>
My action's signature looks (at the moment) like this:
public ActionResult XXX(string Date, string City) {...}
The problem is that I want to propagate a simple integral number from my view to the action. Is it possible to have a hidden textbox or something similar? I want my action signature to look something like this:
public ActionResult CreateCourseDate(string Date, string City, int id)