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 .NET only
Search
Advanced Search
Forums
BYTES
Product Launch
Updates
Developer Toolkit
Member List
Calendar
Today's Posts
Home
Forum
Topic
.NET
Null Values in a DateTime Field
Null Values in a DateTime Field
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
mzmishra
Recognized Expert
Contributor
Join Date:
Aug 2007
Posts:
390
#1
Null Values in a DateTime Field
Aug 29 '07, 05:30 AM
Hi,
How can I insert Null value to a DateTime field.
Is there soem thing like
DateTime dt=......someth ing
Shashi Sadasivan
Recognized Expert
Top Contributor
Join Date:
Aug 2007
Posts:
1435
#2
Aug 29 '07, 06:37 AM
Originally posted by
mzmishra
Hi,
How can I insert Null value to a DateTime field.
Is there soem thing like
DateTime dt=......someth ing
Code:
DateTime dt = null;
Is that what you are looking for, or is it a SQL query?
Comment
Post
Cancel
mzmishra
Recognized Expert
Contributor
Join Date:
Aug 2007
Posts:
390
#3
Aug 29 '07, 06:43 AM
Thanks for your reply.
Actually it is a sql query.
And I have got a solution ,created one sp and pass this as DBNull.Value
Comment
Post
Cancel
Previous
template
Next
Working...
OK
OK
Cancel
👍
👎
☕
Comment