In order to display the result in respective textboxes, kindly use TextBoxFor instead of DisplayFor.
PFB changes required in Details View.
Details View:
@model CodePrjctQues.Models.tblCustomer
@{
ViewBag.Title = "Details";
}
Details
tblCustomer
@Html.DisplayNameFor(model => model.FirstName)
@Html.TextBoxFor(model => model.FirstName)
@Html.DisplayNameFor(model => model.LastName)
@Html.TextBoxFor(model => model.LastName)
@Html.DisplayNameFor(model => model.Address)
@Html.TextBoxFor(model => model.Address)
I hope this will solve your problem.