我正在vb.net上进行医院管理系统的项目 [英] i am making a project on hospial management system in vb.net

查看:62
本文介绍了我正在vb.net上进行医院管理系统的项目的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在这里,我无法检查我的住院表中的值.我想让数据读取器检查床表中是否已不存在,如果退出组合框3应该仅显示可使用的床,我直接将值添加到combobox2.我急切地想要

Here ,I m not Able to Check The value which is in my inpatient_Table .I Want the data reader to check the bedNo already Existing in the table ,and if it exits the combobox3 should display only the avilable bed ,I Have directly add the values to the combobox2 .I Want it Urgently

推荐答案

我无法完全理解您要说的内容.从我的猜测可能是您可以使用这种查询

从床中选择床号可维护的不在(从住院病人中选择床号).
I cannot understand exactly what you are trying to say. From i guess may be you can use this kind of query

select bedNo from bedMaintable not in( select bedNo from inpatienttable ).


这篇关于我正在vb.net上进行医院管理系统的项目的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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