Here i am fetching the value from database and showing it in a input field
and
You can use simple form:
@using(Html.BeginForm("Update", "Shopping")) { ... }
And add here attribute:
[HttpPost] public ActionResult Update(string id, string productid, int qty, decimal unitrate)