|
|
 |
| Visual Web Developer 2008 Discuss creating ASP.NET 3.5 sites with Microsoft's Visual Web Developer 2008. If your question is more specific to a piece of code than the Visual tool, see the ASP.NET 3.5 forums instead. If your question is specific to the "Express Edition" be sure to state that in your post. |
Welcome to the p2p.wrox.com Forums.
You are currently viewing the Visual Web Developer 2008 section of the Wrox p2p Programmer to Programmer discussion community. This is a community of more than 40,000 computer programmers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining our free Wrox p2p community you can post your own programming questions and respond to other programmers’ questions. Registered users also don't have to see the ads that are displayed to guests. Registration is fast, simple and absolutely free so please, join today!
Join today and post to win prizes! Post more to increase your chances of being Wrox’s top poster of the month.
|
 |

February 25th, 2009, 02:49 PM
|
|
Authorized User
|
|
Join Date: Jan 2009
Posts: 23
Thanks: 10
Thanked 0 Times in 0 Posts
|
|
Calendar Control
Could anyone give me some initial pointers on how to link the basic calendar control in ASP.NET to a sql database. I am using VWD2008 Express, and have dropped the control onto a page. I would like to be able to display information about a particular date below the calendar when that date is clicked. Thanks
|

February 25th, 2009, 05:03 PM
|
 |
Wrox Author
|
|
Join Date: Jan 2008
Location: Decatur, IL, USA.
Posts: 807
Thanks: 12
Thanked 140 Times in 140 Posts
|
|
The question is a little unclear. Do you want to display information from your database that is linked to the date? Or do you just want to display information about the ACTUAL date picked, like maybe what day of the week it falls on?
If it is #1, you would do this the same way you might if you specified the date in some other way, like a textbox. The calandar has a SelectedDate property that you can feed to a data source control.
|
|
The Following User Says Thank You to Lee Dumond For This Useful Post:
|
|

February 27th, 2009, 04:17 AM
|
|
Authorized User
|
|
Join Date: Jan 2009
Posts: 23
Thanks: 10
Thanked 0 Times in 0 Posts
|
|
Yes, I guess I didn't really make that question too clear. I'd like to be able to display the day, but also then display additional information, say if there was an event planned for that day.
|
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|
 |