Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Using test bench with datetime parameters
Message
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Environment versions
Environment:
C# 2.0
OS:
Windows Server 2003
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Desktop
Miscellaneous
Thread ID:
01383764
Message ID:
01385659
Views:
37
>>>>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.
Previous
Reply
Map
View

Click here to load this message in the networking platform