|
-
Mar 14th, 2004, 04:40 AM
#1
Thread Starter
Member
Database and asp.net (VB)
I was using the calendar feature whereby the user allows to clicks on the specific date.
E.g: 13/3/2004 (Saturday). I would like to know whether asp.net has the function to call the Monday, Tuesday …. Sunday? If there is, could someone give sample of it as I do not know how to start. Thankz.
If there isn’t a function to call the Monday, Tuesday…. Sunday, I’m thinking of using the database function :
SET DATEFIRST 1
SELECT DATEPART(dw, getDate()) AS 'Today'
But the problem lie here. How to pass the selected date from the calendar to the database for checking whether it is which day?
I am really thankful to those who help me out.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|