473,386 Members | 1,815 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

Calender Control or VB.Net code

I need a control to display every Sunday for the rest of the year. Maybe a
dropdownlist that has a list on all the Sunday's for the rest of the year
like: 08/08/2004
08/15/2004
08/22/2004
I would like to have these in a dropdownlist but don't want to have to type
them all in in a array or something. Any ideas.

Thanks.

Big E
Nov 18 '05 #1
1 1150
Hi BigE:

I'd look at the AddDays method of the DateTime class. Given the first
Sunday, you could use this method inside a loop to initialize the
collection.

--
Scott
http://www.OdeToCode.com

On Thu, 26 Aug 2004 09:44:15 -0700, "Big E" <no****@nospam.com> wrote:
I need a control to display every Sunday for the rest of the year. Maybe a
dropdownlist that has a list on all the Sunday's for the rest of the year
like: 08/08/2004
08/15/2004
08/22/2004
I would like to have these in a dropdownlist but don't want to have to type
them all in in a array or something. Any ideas.

Thanks.

Big E


Nov 18 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

8
by: PerryC | last post by:
I want to be able to accomplish this, please help: When click on the DOB field, a ActiveX Calender popup and the user choose a date, the value is automatically refreshed in the DOB field in the...
1
by: Kwena Seema via .NET 247 | last post by:
Hi, I'm doing a web app,what i want to achieve is: when i click a specific day on a calender control, it takes me to a specified aspx page. -------------------------------- From: Kwena Seema ...
0
by: Steve Peterson | last post by:
Hi I have a web app running on WinXP Pro which has the OS's operating system's regional settings set to "Spanish - Spain". I have a web app running on this computer that one page has a calender...
4
by: Chris | last post by:
Hi, I am trying to create a popup calender so a user can click on a button on the main form, a calender will then popup, the user will select a date and then click ok on the popup. The date will...
1
by: Jessica Weiner | last post by:
I have an ASP .NET web application and I am using the calender control to display the month view and some events that are scheduled to happen during the month. Whenever the user selects a month,...
0
by: jack | last post by:
Hi all, I this this would be the most common question to most of the professionals out there. but for me its a head ac I am developing in asp.net 2.0 and wanted to use drop down calender...
1
by: Doug | last post by:
Hi, How do I get a Calender Control popup to appear near the button which activated it, rather than on the other side of the screen? (MS Access 2000)
0
by: raghulvarma | last post by:
I am developing a web page using c# as my code behind. I need to have a java script for a calender control.I know how to use the calender control which is seen in the tool bar. But I don't need that...
1
by: moksha | last post by:
hi friends, In my application i have date field.To enter date i want to calender control. When i keep my cursor on textbox calender should popup and the selected value in calender has to...
21
Vkas
by: Vkas | last post by:
i had created my own web calender control!!!! it consist 1} text box (it display's the selected date) 2} button (it hide and show the calender control) 3} calender control (use for the selection...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.