本文介绍了.NET和Sql:在两个日期之间选择(开始和结束时间)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好!你可以帮我这个吗/



我试图避免冲突,例如我输入:



房间|一天| timeFROM | timeTO

ab222 | MON |上午7:00 | 10:00 AM



然后如果我打算输入这样的另一个条目

ab222 | MON |上午8:00 |上午11:00



时间冲突因为已经有7-10而且它不应该接受8-11。



我怎么能在.net中这样做?



请帮助!谢谢! :D

hello! can you help me with this one/

im trying to avoid conflicts here for example i typed in:

ROOM | DAY | timeFROM | timeTO
ab222 | MON | 7:00 AM | 10:00 AM

then if im going to typed in another entry like this
ab222 | MON | 8:00 AM | 11:00 AM

the time is conflict because there is already 7-10 and it should not accept the 8-11.

how can i do this in .net?

please help! thanks! :D

推荐答案



这篇关于.NET和Sql:在两个日期之间选择(开始和结束时间)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-02 00:46