日期/时间选择器问题 [英] Date/Time Picker Questions

查看:105
本文介绍了日期/时间选择器问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

好吧,我对Vb相当新,我正在为学校做一个项目......有没有人知道如何根据日期/时间选择器中选择的日期来计算日期,并将其显示在另一个日期/时间选择器中文本框?

解决方案


好​​的,我对Vb很新,我正在为学校做一个项目。 ..有没有人知道如何根据日期/时间选择器中选择的日期计算日期,并将其显示在另一个文本框中?



您在计算什么?

如何计算?


指定



您在计算什么?

如何计算?


指定



ok,我有一个日期时间选择器,你把它设置为电影签出的日期,然后在另一个框中它告诉你多少天允许签出电影,这是根据签出的电影类型自动设置的。有了这些信息,我应该在另一个文本框中显示该日期。这是我无法弄清楚的。如何编写截止日期的代码。



i有一个日期时间选择器,您可以将其设置为检查电影的日期out,然后在另一个框中它告诉你允许检查电影的天数,这是根据签出的电影类型自动设置的,有了这些信息,我应该在另一个文本中显示该日期。框。



使用 DateAdd()功能。


OK, I am fairly new to Vb, and I am doing a project for school... Does anyone know how to calculate a date, based on the date selected in the Date/Time Picker, and have it display in another text box?

解决方案

OK, I am fairly new to Vb, and I am doing a project for school... Does anyone know how to calculate a date, based on the date selected in the Date/Time Picker, and have it display in another text box?


What you are calculating ?
How you are calculating?

Specify


What you are calculating ?
How you are calculating?

Specify

ok, i have a date time picker where you set it to the date that a movie is checked out, then in another box it tells you how many days the movie is allowed to be checked out, this is set automatically based on what kind of movie is checked out, With this information I am supposed to show the date due back in another text box. That is what i can not figure out. How to write the code for the due date.


i have a date time picker where you set it to the date that a movie is checked out, then in another box it tells you how many days the movie is allowed to be checked out, this is set automatically based on what kind of movie is checked out, With this information I am supposed to show the date due back in another text box.

Use the DateAdd() function.


这篇关于日期/时间选择器问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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