如何使用日历日期选择显示数据库中的数据。 [英] How Do I Use A Calendar Date Selection To Display Data From Database.

查看:392
本文介绍了如何使用日历日期选择显示数据库中的数据。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想使用日历日期选择来显示为所选特定日期安排的音乐会列表。我也不确定什么是动态音乐会信息列表的最佳容器,它可以容纳不同数量的音乐会,具体取决于日期。

I would like to use a calendar date selection to display a list of concerts scheduled for the particular date selected. I'm also not sure what the best container for a dynamic list of concert information that can hold a varying amount of concerts, depending on the date.

推荐答案

考虑你有一个文本框,可以显示日期选择,一个日历图像按钮和一个日历控件。单击日历图像后,将显示日历控件,选择该日历后,日期将填充到文本框中。提供一个名为显示预定音乐会的按钮。单击按钮,从数据库中获取该特定日期的音乐会详细信息,并在GridView中显示。





如果有帮助请标记为答案!!!!!!!!
Consider you have a textbox where date selection will be displayed, a Calender image button and a Calender Control. Once you click Calender image, Calender control will be shown and upon selecting that, date will be populated into the textbox. Give one button called "Show Scheduled Concerts". On click of a button, fetch the details of the concert from the database for that particular date and show it in the GridView.


Please mark as answer if it helps!!!!!!!!


这篇关于如何使用日历日期选择显示数据库中的数据。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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