asp.net - Is there a way to send a parameter though a button? -
i have link witch yo change button, link passes though parameter , looks follows: @html.actionlink("view", "print", new { id = item.salescontractid }) i want replace button parameter { id = item.salescontractid } my button looks follows: <input type="button" value="print" id="btnfromindexprint" /> could show me how ca go doing this? this how page looks can see i'm trying achive: @model ienumerable<contract.models.tbsalescontract> <!doctype html> <html> <head> <title>index</title> </head> <body> <p> @html.actionlink("create new", "edit") </p> <table> <tr> <th> company </th> <th> trading </th> <th> created </th> ...