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)
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
Post a Comment