Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Empty Date Values
Message
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
ADO.NET
Titre:
Empty Date Values
Divers
Thread ID:
01051194
Message ID:
01051194
Vues:
54
Hello All, pulling my hair out over this one, how do I pass an empty date value ( equivalent to VFP's { \ \ } ) to a SQL Server stored proc using ADO.NET and C#, I've tried sending empty strings which works from VFP using ODBC but returns an error "Cannot convert empty string to DateTime type", the problem I have is these date values are string values from textboxes and are not always populated, if I set them to null the SP works ( is this the proper way to go in SQL ? ) any help much...
Regards,
Peter J. Kane



Pete
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform