ändern von html-tags text , auf der server-Seite (C#, ASP.NET)

kann ich das ändern client-html-tags text , auf der server-Seite?

wie zum Beispiel, ändern Sie die h2-oder p-tags text auf der server-Seite?

Beispiel:

<asp:Content ID="BodyContent" runat="server" ContentPlaceHolderID="MainContent">
<h2>
    Welcome to ASP.NET!
</h2>
<p>
    To learn more about ASP.NET visit <a href="http://www.asp.net" title="ASP.NET Website">www.asp.net</a>.
</p>
<p>
    You can also find <a href="http://go.microsoft.com/fwlink/?LinkID=152368&amp;clcid=0x409"
        title="MSDN ASP.NET Docs">documentation on ASP.NET at MSDN</a>.
</p>

ändern Sie die h2-text von "Willkommen ASP.NET!" , "Hallo".

InformationsquelleAutor Rodniko | 2011-03-20

Schreibe einen Kommentar