How to store editmodelfor to a variable so i can use in controller
example:
@Html.LabelFor(model => model.total_card, new { @class = "control-label col-md-2" })
@Html.EditorFor(model => model.total_card)
@Html.ValidationMessageFor(model => model.total_card)
i wanna store result of that code in a variable
i was try:
var total_card= model=>model.total_card
but its still not works
Manas MohapatraPosted Aug 27, 2015, 5:45 AM