如果有相应的数据,仅显示复选框 [英] Only display checkbox if there is corresponding data

查看:41
本文介绍了如果有相应的数据,仅显示复选框的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

假设我使用for循环来显示来自数据库的记录///并且每行记录都有一个复选框..


连续..如果让我们说其中一列无法满足要求!!不允许它检查复选框...


例如如果让我们说rsLook.Fields(" Supp_Email")=""然后

不允许它检查


我该怎么做?

let say i use for loop to display the record from database/// and each line of records has a checkbox ..

in a row.. if let say one of the column does not fulfill the requriement !! don allow it to check the checkbox...

e.g. if let say rsLook.Fields("Supp_Email") = "" then
don allow it to check

how can i do that ?

推荐答案

Heya ,lyealain。


让我们来看看你的代码。在服务器端执行此操作可能更实际。
Heya, lyealain.

Let''s have a look at your code. It may be more practical to do this server-side.


更改线程标题以更好地描述问题(您是否知道标题包含少于三个单词的线程实际上得到FEWER响应?) 。
Changed thread title to better describe the problem (did you know that threads whose titles contain fewer than three words actually get FEWER responses?).


展开 | 选择 | Wrap | 行号


这篇关于如果有相应的数据,仅显示复选框的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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