Clear label when opening homepage

2

I am doing a site in ASP.NET using vb and when I do refresh I delete the data from the textbox's and also wanted to clean what is written on the label Can you help me?

I'm using the code below and it's not working

 Label10.Text = ""

The code must be in vb

    
asked by anonymous 24.04.2018 / 11:12

1 answer

3

Note if this code snippet is in the same page load, if it is not inside an IsPostBack (Ex: If Not IsPostBack Then ) processing and if before finishing Load it is not filling the Label again.

    
24.04.2018 / 15:43