title: MVC - Passing a string on button click after the View is loaded
body: <p>I am new to MVC so apologies if the question is silly.</p>
  <p>I have the below View</p>
  <p><a href="https://i.stack.imgur.com/aROeZ.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/aROeZ.png" alt="enter image description here" /></a></p>
  <p>which renders as :</p>
  <p><a href="https://i.stack.imgur.com/VRFae.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/VRFae.png" alt="enter image description here" /></a></p>
  <p>Now what I need is when I click the View Status button, it should pass the Student Id to the controller Action which then checks from DB if the Student is Full time/Part Time and return a simple string that goes against the Status at the end.</p>
  <p>Can someone please help me with two things:</p>
  <ol>
  <li>How do I pass the Id parameter</li>
  <li>How do I pass the string value back and render</li>
  </ol>
  <p>Below is the Controller method:</p>
  <p><a href="https://i.stack.imgur.com/sQRBg.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/sQRBg.png" alt="enter image description here" /></a></p>