存储在数据库中的日历日期 [英] calander date stored in database
本文介绍了存储在数据库中的日历日期的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我有一个日历控件和一个数据库。
当我在该日历中选择一个日期时,该日期应该保存在我的数据库中。
和那个日期应该打印在我的文本框/标签中。
请有人告诉我如何编写该代码...?
I have a calendar control and a database.
when I select one date in that calender,that date should be save in my database.
and that date should be print in my textbox/lable.
please could anyone tell me how to write that code...?
推荐答案
你好chinna1987,
参见考试:
how-to-pass-datetime-from-c-sharp-to-sql-correct [ ^ ]
insert-and-select-date-from-sql-服务器数据库 [ ^ ]
看到这个好视频:如何使用DateTimePicker并在数据库中保存日期 [ ^ ]
祝你好运,
Edo
Hi chinna1987,
See examlpes:
how-to-pass-datetime-from-c-sharp-to-sql-correctly[^]
insert-and-select-date-from-sql-server-database[^]
And see this nice video: How to use DateTimePicker and save date in Database[^]
Good luck,
Edo
这篇关于存储在数据库中的日历日期的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文