ASPFriends.com 'ngfx-sqlclient' list Archive - April 2004
Messages
Page: 1
1/1/1900 inserted rather than nothing (14 replies, VIP)
ASPFriends.com 'ngfx-sqlclient' list
I have tried several combinations of this (below) yet the date 1/1/1900 ends up posting to my dbase in a field I put up for birthdates. If Not txtEfBirthdate.Text Is Nothing Then cmdInsert.Parameters.Add("@efBirthDate", txtEfBirthdate.Text) The goal is to not insert any date if nothing is entered in the field. The column is a smalltimedate with allow nulls checked. Any advice on this is appreciate...
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