pass label data from view to controller in mvc
how to pass label data from view to controller in mvc without take hidden field???
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Happy MakwanaPosted Apr 30, 2015, 3:42 AM
Sarath KumarPosted Apr 28, 2015, 9:40 AM
In controller,
[HttpPost] public ActionResult Calculate(FormCollection form) { string strName = form["txtName"].ToString(); . . . . . . . . . . . . . . . . . . . . }