Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 1.0 and 1.1 > ASP.NET 1.0 and 1.1 Basics
Password Reminder
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
ASP.NET 1.0 and 1.1 Basics ASP.NET discussion for users new to coding in ASP.NET 1.0 or 1.1. NOT for the older "classic" ASP 3 or the newer ASP.NET 2.0.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 1.0 and 1.1 Basics section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old June 29th, 2004, 05:42 AM
Authorized User
Join Date: Apr 2004
Location: , , .
Posts: 21
Thanks: 0
Thanked 0 Times in 0 Posts
Default Sending Dates to Stored Procedure


I have two text boxes which when submitted sends user input dates to a stored procedure which returns results between those dates.

My problem is that the stored procedure will only work if American format dates are input into the text boxes.

How can I make this work when putting English format dates in the text boxes?

I'm pretty sure its a SQL thing as the stored procedure wont work in Query Analyzer with english dates (unless I run SET DATEFORMAT dmy first) I cant do this when calling the stored procedure from the page though...

this is driving me mad,

any help much much appreciated,


  #2 (permalink)  
Old June 30th, 2004, 06:00 AM
Authorized User
Join Date: Apr 2004
Location: , , .
Posts: 21
Thanks: 0
Thanked 0 Times in 0 Posts


I formatted it in c# first:

DateTime dtDate =

(Thanks Chris)


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Sending Array to Stored Procedure in ItemUpdating kevorkian ASP.NET 2.0 Basics 3 June 11th, 2008 08:54 AM
Stored procedure ashuphp MySQL 1 April 2nd, 2007 04:20 PM
Stored Procedure bmains SQL Server ASP 2 October 8th, 2004 03:19 AM
Stored Procedure to.... flyin ADO.NET 3 March 3rd, 2004 02:01 AM
Sending an e-mail from a stored procedure cooldude87801 Oracle 0 August 5th, 2003 04:35 PM

All times are GMT -4. The time now is 06:27 PM.

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.