c# - is there a way asp.net to trigger whether to display a fieldset? -


I am creating a program with an ASP.NET C #, I am using several gridviews to show different criteria of data on page 1, each of these criteria is a title,

Now, if there is no data of a Gridview, which will not display it, even though Gridview's title will still be because it is purely HTML field and legend.

Is there any work that I can use to trigger the visibility of the title from the C # code?

Thanks (Screenshots below)

"Https://i.stack.imgur.com/hnIkb.jpg" alt = "Enter image details here"> < /p>

You can add runat = "server" to the field as normal And can set visible = true or false (of course you also need to set an ID).

Comments

Popular posts from this blog

mysql - BLOB/TEXT column 'value' used in key specification without a key length -

c# - Using Vici cool Storage with monodroid -

python - referencing a variable in another function? -