3
I have the following situation
<td>
@Html.DisplayFor(modelItem => item.HoraInicial) às
@Html.DisplayFor(modelItem => item.HoraFinal)
<br />
@Html.DisplayFor(modelItem => item.HoraInicial2)
@if (!item.HoraFinal2.Equals(null))
{
QUERO IMPRIMIR UM TEXTO SIMPLES AQUI
echo "às";
}
@Html.DisplayFor(modelItem => item.HoraFinal2)
</td>
I want to print the word at if the condition happens if I know that in PHP
it’s easy a echo 'às';
resolves, now in ASP.Net MVC
I don’t know?
MVC3? It’s kind of old that there, no?
– Leonel Sanches da Silva
@Gypsy omorrisonmendez ancient in which way?
– novic
Really old. It’s not wrong, I’m just bothering you :)
– Leonel Sanches da Silva
So, I found this reference, I even looked before a more current one, but, as nothing has changed and now is another type, but, if you have some better reference and can indicate I thank.
– novic