Answer the question
In order to leave comments, you need to log in
How to output a certain number of records from a table in asp.net core?
I output data to the MVC page with the following code
@foreach (var item in Model)
{
@Html.Raw(item.Content.Substring(0,500))
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question