HighTechTalks DotNet Forums  

IsNumeric, IsDate, IsCurrency

Dotnet Data Tools microsoft.public.dotnet.datatools


Discuss IsNumeric, IsDate, IsCurrency in the Dotnet Data Tools forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
bill
 
Posts: n/a

Default IsNumeric, IsDate, IsCurrency - 11-23-2004 , 12:25 PM






The first two "Is" function exist in VB.NET (though they reference the old
Microsoft VisualBasic namespace) while the third one doesn't exist. What are
the .NET "best practice" equivalents of these three functions? (In other
words, other than by "rolling my own" how am I supposed to implement that
functionality?)

TIA,

Bill



Bill

Reply With Quote
  #2  
Old   
JohnFol
 
Posts: n/a

Default Re: IsNumeric, IsDate, IsCurrency - 11-26-2004 , 08:04 AM






....and IsNull . .. . .

"bill" <bill (AT) discussions (DOT) microsoft.com> wrote

Quote:
The first two "Is" function exist in VB.NET (though they reference the old
Microsoft VisualBasic namespace) while the third one doesn't exist. What
are
the .NET "best practice" equivalents of these three functions? (In other
words, other than by "rolling my own" how am I supposed to implement that
functionality?)

TIA,

Bill



Bill



Reply With Quote
  #3  
Old   
AT
 
Posts: n/a

Default Re: IsNumeric, IsDate, IsCurrency - 11-30-2004 , 02:57 PM



Is Currency: The currency datatype has been replaced by the Decimal type
in .Net.
IsNull: The Variant type has been replaced by the Object type in .Net.
IsDbNull() is a function to check against db data for whether or not it's
null.

Brad
--------------------
Quote:
From: "JohnFol" <Wibble (AT) wobble (DOT) com
References: <1BB8A3CE-CB85-4B30-9C6C-61B4D23C8C4D (AT) microsoft (DOT) com
Subject: Re: IsNumeric, IsDate, IsCurrency
Date: Fri, 26 Nov 2004 14:04:13 -0000
Lines: 20
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1437
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441
Message-ID: <uMT3TD80EHA.1308 (AT) TK2MSFTNGP09 (DOT) phx.gbl
Newsgroups: microsoft.public.dotnet.datatools
NNTP-Posting-Host: cabletel1.cableol.net 194.168.3.4
Path:
cpmsftngxa10.phx.gbl!TK2MSFTFEED01.phx.gbl!TK2MSFT NGP08.phx.gbl!TK2MSFTNGP09
.phx.gbl
Quote:
Xref: cpmsftngxa10.phx.gbl microsoft.public.dotnet.datatools:873
X-Tomcat-NG: microsoft.public.dotnet.datatools

...and IsNull . .. . .

"bill" <bill (AT) discussions (DOT) microsoft.com> wrote in message
news:1BB8A3CE-CB85-4B30-9C6C-61B4D23C8C4D (AT) microsoft (DOT) com...
The first two "Is" function exist in VB.NET (though they reference the
old
Microsoft VisualBasic namespace) while the third one doesn't exist. What
are
the .NET "best practice" equivalents of these three functions? (In other
words, other than by "rolling my own" how am I supposed to implement
that
functionality?)

TIA,

Bill



Bill





Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.