Home How to change aspx html heading from code behind?
Reply: 0

How to change aspx html heading from code behind?

user577
1#
user577 Published in July 16, 2018, 6:31 am

This is my heading that i want to change from my c# code

 <h3>Please Enter a number between 1 &amp; 
                <asp:Label ID="lbl_max" runat="server"></asp:Label>
            </h3>

I want to replace it with a string

string message = "This is new heading...";

i was thinking about something like this

lbl_max.value = message;

But it's not working... I am absolutely new to asp.net, so forgive me if it's a stupid question...

You need to login account before you can post.

About| Privacy statement| Terms of Service| Advertising| Contact us| Help| Sitemap|
Processed in 0.32948 second(s) , Gzip On .

© 2016 Powered by mzan.com design MATCHINFO