title: Value is not getting pass from view to action method
body: <p>i am new in mvc. i have design a form and when i am click the submit button then right action method is calling but form field's value are not getting pass.</p>
  
  <p>here is my view code</p>
  
  <pre><code>&lt;div id="mydiv"&gt;
  @using (Html.BeginForm("Save", "Game", FormMethod.Post, new { @Id = "Form1" }))
  {
      &lt;table border="0"&gt;
      &lt;tr&gt;
          &lt;td&gt;Name :&lt;/td&gt;
          &lt;td&gt;&lt;input name="name" type="text" /&gt;&lt;/td&gt;
      &lt;/tr&gt;
  
       &lt;tr&gt;
          &lt;td&gt;Salary :&lt;/td&gt;
          &lt;td&gt;&lt;input name="salary" type="text" /&gt;&lt;/td&gt;
      &lt;/tr&gt;
      &lt;tr&gt;
          &lt;td colspan="2"&gt;&lt;input type="submit" value="Save" /&gt; &lt;/td&gt;
      &lt;/tr&gt;
      &lt;/table&gt;
  }
  &lt;/div&gt;
  </code></pre>
  
  <p>here is my action method</p>
  
  <pre><code> public ActionResult Save(string str1, string str2)
   {
       return View("Message");
   }
  </code></pre>
  
  <p>when save is getting called the <code>str1</code> &amp; <code>str2</code> is being <code>null</code> please help me to pass value and also discuss various trick to pass value from view to action method. thanks</p>