Wrox Programmer Forums
Go Back   Wrox Programmer Forums > C# and C > C# 2005 > C# 2005
|
C# 2005 For discussion of Visual C# 2005.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the C# 2005 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old January 18th, 2007, 06:47 AM
Authorized User
 
Join Date: Jan 2007
Posts: 25
Thanks: 0
Thanked 0 Times in 0 Posts
Default calendar and drop down list

hi experts,
actualy i nned your help here.
i'm working in a website and i'm facing two problems.
the first one is that i want to display today date when no date is selected (an if statement)
the second one is that i have 2 drop down list and i want to use also an if statement so when the value of the first drop down list is choosed display a message and when the value of the second drop down list is choosed display another message.

the senario of the first one is:
If selecteddate is false
calendar1.selecteddate = datetime.now
i was unable to find the right if statement.

for the second one is :
if Commdrop is selected
label.text = " message"
if sitedrop is selected
label.text = " message"

thanks for your time.






Similar Threads
Thread Thread Starter Forum Replies Last Post
Drop down list carumuga Classic ASP Basics 1 February 6th, 2007 02:37 PM
drop down list and a calendar mrjoka ASP.NET 1.0 and 1.1 Basics 4 January 24th, 2007 05:48 AM
drop down list values based on another drop down noor ASP.NET 1.0 and 1.1 Basics 3 July 5th, 2005 09:57 AM
Drop Down List mrideout BOOK: Beginning ASP.NET 1.0 8 September 16th, 2004 07:11 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.