Passing value from view to controller
I need to take a value through textbox and assign the value inside a action..
i have an action like below..
public ActionResult Edit(int id)
{
id=1 //it works,but if
id=value from view //it does not work
}
How can i solve it??