Can i hide a viewbag if a fieldtext is not empty?

后端 未结 0 1998
囚心锁ツ
囚心锁ツ 2021-02-05 23:14

For example, i have a viewbag showing a error message if a field is empty. Can it be hide if something is written there ?

if (string.IsNullOrEmpty(label)){

              


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题