Nullables Types

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I need to assign nulls to datetime and integers
Exists the NullableDatetime and NullableInteger types?
TIA
 
No in .NET 1.x but yes in .NET 2.0.

--

Best regards,

Carlos J. Quintero

MZ-Tools: Productivity add-ins for Visual Studio .NET, VB6, VB5 and VBA
You can code, design and document much faster.
Free resources for add-in developers:
http://www.mztools.com
 
julio said:
I need to assign nulls to datetime and integers
Exists the NullableDatetime and NullableInteger types?

I am discussing methods of implementing and dealing with nullable dates in
the article at <URL:http://dotnet.mvps.org/dotnet/articles/nullabledates/>,
which is written in German. However, you may find some of the code samples
in the article useful. .NET 2.0 will contain a generic type 'Nullable(Of
T)', which can be used to create a nullable date type ('Nullable(Of Date)').
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top