Do not recreate the text in a view

0

I'm working with mvc and every time I switch to this'

<div>
<h3>TreeView</h3>
@for (int i = 0; i < Methods.TablesList.Count(); i++)
        {
            string tableName = Methods.TablesList[i];
    @Html.ActionLink(tableName, "Table", "Home", new { table = Methods.TablesList[i] }, null);
    <br />

    List<string> aux = instanceTableColumnsName.Instance.a1[i].Split('»').ToList();
    for (int a = 0; a < aux.Count(); a++)
    {
        @Html.DisplayTextFor(x => aux[a]);
        <br />
    }

    <br />


 }

</div>

Are all the text created again as I avoid it?

    
asked by Luis Ortiz 04.08.2018 в 22:29
source

0 answers