Information générale
Catégorie:
The Mere Mortals .NET Framework
Versions des environnements
Network:
Windows 2003 Server
>>>I have a stored procedure that receives 3 parameters for an id #, a begin date and an end date. I have tried everything I can think of to test my business object that calls the procedure in the test bench but I cannot get it to accept a datetime. Any ideas? Thanks.
>>
>>Have you tried parsing it to a string?
>I tried entering DateTime.Parse("99/99/9999") but it didn't take that either. I ended up doing what Tim suggested and adding a method to the AppTest code.
Maybe it didn't like the invalid date? IAC, glad you got it worked out.
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement