MVC pass a string between views
Posted on 2014-12-16
I am quite new to MVC and I am developing a little application for the purposes of learning, the problem I have is in my application I want to pass a string from a textbox in one view to a label in another view, what is the best way to do this, I have thought of storing the string in a model or storing the string as a variable in a controller. I am using MVC 4 and C#. Hope somebody out there has an example of how to do this.