![]() |
| Return Dates in Range - ASP.NET |
|
MBMunday
|
I have been trying to figure this out for a while.........I've Googled and Yahoo'd to no avail.
I would like to have .NET return dates from a specified start and end date. Here's what I've got.......A user will enter a start date in a text box and an end date in a text box (and other data that will be entered into a database, which isn't important to my question) I then want .NET to determine the dates within the date range entered and conduct a loop to enter a record for each date (From the start date to the end date, and all of the dates in between those two). Josh..........I'm thinkin you can give me a good swift kick in the a%$ to get me going in the right direction. Thanks in advance, MB |
||||||||||||
|
|
|||||||||||||
|
Josh
Forum Regular
|
hehe... i've already done this before... even made it take out weekends and holidays
|
||||||||||||
|
|
|||||||||||||
|
Josh
Forum Regular
|
Found it... here you go
TIMESHEET.ASPX
|
||||||||||||||
|
|
|||||||||||||||
|
Josh
Forum Regular
|
I'm sure this did way more than you needed it to do, but did it at least send you in the right direction? Let me know... because if not I'll give you a hand getting things straight.
|
||||||||||||
|
|
|||||||||||||
|
MBMunday
|
Thank you, thank you, thank you. I've been in a school the past couple of days and haven't been into the office. I'll work on it tomorrow and let you know how things go.
Again, thanks Josh! MB |
||||||||||||
|
|
|||||||||||||
|
MBMunday
|
I finally got the opportunity to really sit down and dig in. Thanks again! It worked great. You commented your code great and I was able to modify it to do what I needed.
Again, thank you, thank you, thank you! Regards, MB |
||||||||||||
|
|
|||||||||||||
|
Josh
Forum Regular
|
Good Deal!!! That's what I like to hear. If you need anything else lemme know.
|
||||||||||||
|
|
|||||||||||||
|
MBMunday
|
I'd show you the page I ended up creating using the altered code you provided me, but it's on an Intranet at my work. People there won't appreciate it as much.
It's too bad......... Thanks again. MB |
||||||||||||
|
|
|||||||||||||
| Return Dates in Range - ASP.NET |
|
||
|


