Answers for "Html.TextArea() in Razor View"

C#
0

Html.TextArea() in Razor View

@model Student
@Html.TextArea("Description", "This is dummy description.", new { @class = "form-control" })  
//upon compilations
<textarea class="form-control" id="Description" name="Description" rows="2"cols="20">This is dummy description.</textarea>
Posted by: Guest on September-28-2021

C# Answers by Framework

Browse Popular Code Answers by Language