如何在反对的toas中显示我的java中的空房间,显示出重复的警告信息 [英] How to display only vacant rooms in my java from a opposed toas show a warning message incase of duplication

查看:97
本文介绍了如何在反对的toas中显示我的java中的空房间,显示出重复的警告信息的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

表单应该在名为Roomed的表中自动从数据库中选择空间,用户将选择他喜欢的房间,然后在名为Reserves的表中将客户详细信息插入数据库。

表Roomed只有房号。



表储备是保存客户房间信息的地方。



任务是只显示表Roomed中的空房,以避免重复,而不是显示错误/ waring消息,当一个人同一个房间预订两次。



想法请

The form is supposed to automatically pick rooms from the db in a table called Roomed and the user will select his preferred room then insert the customers details in the db in a table called Reserves.
Table Roomed has room numbers only.

Table Reserves is where Customers room info are saved.

The task is to display only the vacant rooms in the Table Roomed , to avoid duplication as opposed to show an error/ waring message when one books the same room twice.

Ideas please

推荐答案

这篇关于如何在反对的toas中显示我的java中的空房间,显示出重复的警告信息的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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