Monday, 5 March 2018

Single Row Access MVC Razor

This post target when there is a need to get only single row and display them on a cshtml view.


@model Britanic_MIS.Models.CustomerModel


        @Html.TextBox("Test",null, new { placeholder=@Model.FullName, @class = "form-control",@onclick="test()" })