Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Using test bench with datetime parameters
Message
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Versions des environnements
Environment:
C# 2.0
OS:
Windows Server 2003
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Desktop
Divers
Thread ID:
01383764
Message ID:
01385659
Vues:
36
>>>>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.
That's not the actual date I entered, just the format. I definitely entered a valid date but it didn't seem to like the parse code.
Linda Harmes
HiBit Technologies, Inc.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform