How to hide a div from code (c#)

前端 未结 9 1637
迷失自我
迷失自我 2020-12-01 03:38

I have a div element on my page that I wish to show/hide based on a session value in my code-behind. How can I do this?

9条回答
  •  失恋的感觉
    2020-12-01 03:54

    u can also try from yours design

        
    >True
    >False
    >NameExist
    >NameNotExist

    Output html

        
    True
    False
    NameExist
    NameNotExist

提交回复
热议问题