Stored Procedure Date

Results 1 to 2 of 2

Thread: Stored Procedure Date

  1. #1
    Join Date
    Dec 1969

    Default Stored Procedure Date

    I have a textbox that contains the following date: 28/8/2002 (UK format) My code behind to insert this into the database uses a stored procedure:<BR>myCommand2.Parameters.Add("@StageEnd ", Convert.ToDateTime(StageEnd.Text))<BR>This gives me an error that it is not a valid DateTime.

  2. #2
    Join Date
    Dec 1969

    Default RE: Stored Procedure Date

    Does it work for dates formated as 8/28/2002?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts