I am new to MVC and needs some help. I created a simple website(C#,visual studios 2010) program that query my database and return results on a web page. This works perfectly fine. I added a search text box and a button to my site to facilitate searching. I added the following to the Views -> Sites -> index.aspx
<label for="Search server">Search:</label>
<%= Html.TextBox("Search") %>
<button class="okButton" type="submit" value="Search" >Search</button>
So my text box and button displays fine.
I figured I would enter code to implement the search text box and button in the Controller. Is that correct?
I am not sure how to refer to those buttons since I just added them to the Index.aspx.
Can somone give me and example of how and where to implement the search text box plus button fucntionality?
Please see the attached screenshot