Login or Sign Up
Logging in...
Remember me
Log in
Or
Sign Up
Forgot password or user name?
Log in with
Search in titles only
Search in ASP .NET only
Search
Advanced Search
Forums
Product Launch
Updates
Today's Posts
Member List
Calendar
Home
Forum
Topic
ASP .NET
How to convert string into date using between operator
Collapse
X
Collapse
Posts
Latest Activity
Photos
Page
of
1
Filter
Time
All Time
Today
Last Week
Last Month
Show
All
Discussions only
Photos only
Videos only
Links only
Polls only
Events only
Filtered by:
Clear All
new posts
Previous
template
Next
pratishtha
New Member
Join Date:
Mar 2015
Posts:
1
#1
How to convert string into date using between operator
Mar 25 '15, 08:10 AM
Code:
SELECT * FROM StudentAttendance WHERE Date BETWEEN '"&Textbox1.Text &"' AND '" & Textbox2.Text &"'
Last edited by
Rabbit
;
Mar 25 '15, 03:19 PM
.
Reason:
Please use [code] and [/code] tags when posting code or formatted data.
Rabbit
Recognized Expert
MVP
Join Date:
Jan 2007
Posts:
12517
#2
Mar 25 '15, 03:20 PM
Please use code tags when posting code or formatted data.
Depending on what database you're using, you can use either the CONVERT() or CAST() function.
Comment
Post
Cancel
Previous
template
Next
Working...
Yes
No
OK
OK
Cancel
👍
👎
☕
Comment