View Single Post
  #1 (permalink)  
Old 06-12-2007, 03:30 PM
Ed Ed is offline
Senior Member
 
Join Date: Jun 2007
Posts: 110
Ed is on a distinguished road
problem with date field
I want to filter a record in a table of SQLServer2000, the dateInit field is the primary key, but It doesn't work the CONVERT function because the record doesn't filter it, that is to say: the record doesn't find it.
I do the where like this:
Code:
Date dteDate dteDate = this.Date1.Value WHERE dateInit = "& dteDate &"
Do you know what is happening?

Last edited by Ed : 06-12-2007 at 05:28 PM.
Reply With Quote
Sponsored Links