如果使用asp.net数据库字段为null,如何隐藏标签 [英] How to hide a lable if a database field is null using asp.net

查看:154
本文介绍了如果使用asp.net数据库字段为null,如何隐藏标签的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如果使用asp.net

How to hide a lable if a database field is null using asp.net

推荐答案

如果数据库字段为空,如何隐藏标签?检查它是否为空并且只发出标签'不是,或者如果是的话,将其设置为false。
Check if it''s null and only emit the label if it''s not, or set it''s visible to false if it is.


这篇关于如果使用asp.net数据库字段为null,如何隐藏标签的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆