Wrox Programmer Forums
|
ASP.NET 1.0 and 1.1 Basics ASP.NET discussion for users new to coding in ASP.NET 1.0 or 1.1. NOT for the older "classic" ASP 3 or the newer ASP.NET 2.0.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 1.0 and 1.1 Basics 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 April 5th, 2006, 03:35 PM
Authorized User
 
Join Date: Apr 2006
Posts: 16
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to al-hijjawi
Default dynamic list

hi every one
i am very beginner of ASP.Net so during the last project i encounter
problem that i need to make dynamic list ?!
i.e : i am design personal information form and the form contain fields for date(day,month,year) if the user for example choose "February" the day list will be changed to allow only 29 day and so on .
any solution please
Thanks :)


 
Old April 5th, 2006, 03:41 PM
Friend of Wrox
 
Join Date: Jul 2003
Posts: 599
Thanks: 6
Thanked 3 Times in 3 Posts
Default

You could use the .NET calendar component which has all the correct days of every month and year. You're probably going to want to concatenate that date anyway when you insert it into the database.

 
Old April 6th, 2006, 10:47 AM
Authorized User
 
Join Date: Apr 2006
Posts: 16
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to al-hijjawi
Default

thanks you rstelma
but the problem here is that this date will be the birth date of the user so it's not easy to move through the year specially if the year in the calender is too far from his brith year .
please if there any other solution or if there any way for allow the user to enter his year and reflect that of calender please answer me
and thanks you very match

 
Old April 7th, 2006, 11:05 AM
Friend of Wrox
 
Join Date: Jul 2003
Posts: 599
Thanks: 6
Thanked 3 Times in 3 Posts
Default

I see. I have done this in the past using javascript. I can't put my hands on that code right now but I'm sure I found it by searching the Internet. If you're interested I can look up that code later on and post it here.






Similar Threads
Thread Thread Starter Forum Replies Last Post
Dynamic List Content cyberddindia Classic ASP Basics 3 October 24th, 2006 10:29 AM
Tell about dynamic list boxes shyamprasad Classic ASP Components 3 February 8th, 2005 02:38 PM
Dynamic drop down list bart.moons Classic ASP Databases 9 January 25th, 2005 10:05 AM
Dynamic drop-down list lucian Dreamweaver (all versions) 2 July 8th, 2004 05:58 PM
creating dynamic list fyeojo VS.NET 2002/2003 4 September 2nd, 2003 03:13 AM





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