Here Mudassar Ahmed Khan has explained with an example, how to assign (set) value to TextBox using ViewData in ASP.Net MVC Razor.
This article will illustrate how to use ViewData to set value in TextBox created using Html.TextBox helper function in ASP.Net MVC Razor.
↧