Search:
Namespaces
Discussions
.NET v1.1
Feedback
Related Question on DateTime Formatting
Messages
Related Types
This message was discovered on
ASPFriends.com 'aspngbeta' list
.
Responses highlighted in red are from those people who are likely to be able to contribute good, authoratitive information to this discussion. They include Microsoft employees, MVP's and others who IMHO contribute well to these kinds of discussions.
Jamie Bray
In my calendar application I want to format the time to 12:00 PM.
I am using myTime.format("whateverformattype", null)
but it tells me that null is no longer supported and that I should
use System.DBnull .... but when I try that the compiler says that
DBnull is not a part of System? What am I missing?
Thanks,
Jamie
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com
Reply to this message...
atj@kylas.com (Anil John)
Jamie,
Don't have an exact solution to the problem, I had to do some date time
formatting recently and this article helped me a lot:
http://www.aspnextgen.com/tutorials.aspx?tutorialid=39
Anil
On Mon, 07 May 2001 03:11:02 -0500, Jamie Bray wrote:
|
| In my calendar application I want to format the time to 12:00 PM.
|
| I am using myTime.format("whateverformattype", null)
|
| but it tells me that null is no longer supported and that I should
| use System.DBnull .... but when I try that the compiler says that
| DBnull is not a part of System? What am I missing?
|
| Thanks,
| Jamie
| _________________________________________________________________
| Get your FREE download of MSN Explorer at
http://explorer.msn.com
|
|
|
--
_______________________________________________________________
Anil John
Click here to reveal e-mail address
[PGP Key Available]
Reply to this message...
Bob Levittan (VIP)
see:
http://www.aspnextgen.com/tutorials.aspx?tutorialid=39
=====================================================
In my calendar application I want to format the time to 12:00 PM.
I am using myTime.format("whateverformattype", null)
but it tells me that null is no longer supported and that I should
use System.DBnull .... but when I try that the compiler says that
DBnull is not a part of System? What am I missing?
Thanks,
Jamie
_________________________________________________________________
Get your FREE download of MSN Explorer at
http://explorer.msn.com
| [aspngbeta] member
Click here to reveal e-mail address
= YOUR ID
|
http://www.asplists.com/asplists/aspngbeta.asp
= JOIN/QUIT
_________________________________________________________________
Get your FREE download of MSN Explorer at
http://explorer.msn.com
Reply to this message...
Yannick Smits (VIP)
You're probably mixing up VB and C#.
In VB the code should be:
myTime.Format("whateverformattype", nothing)
In C#:
myTime.Format("whateverformattype", null);
hope that helps.
Yannick Smits
----- Original Message -----
From: "Jamie Bray" <
Click here to reveal e-mail address
>
To: "aspngbeta" <
Click here to reveal e-mail address
>
Sent: Monday, May 07, 2001 10:11 AM
Subject: [aspngbeta] Related Question on
DateTime
Formatting
[Original message clipped]
Reply to this message...
System.DateTime
Ad
MBR BootFX
Best-of-breed application framework for .NET projects, developed by Matthew Baxter-Reynolds and MBR IT
Copyright © Matthew Baxter-Reynolds 2001-2008. '.NET 247 Software Development Services' is a trading style of MBR IT Solutions Ltd.
Contact Us
-
Terms of Use
-
Privacy Policy
-
www.dotnet247.com