J
John A Grandy
VS05 : GridView control config'd to use SPs in SS05
One of the SPs takes a vchar(50) which in the T-SQL needs to be converted to
a DateTime.
How should I have the GridView format the text the user enters in the date
col ?
Currently, if user enters "2/14/2006" , I format it as '2/14/2006' ... but
this gives me a runtime error:
Server Error in '/code' Application.
----------------------------------------------------------
The string was not recognized as a valid DateTime. There is a unknown
word starting at index 0.
My table has a primary key defined on an Identity col.
One of the SPs takes a vchar(50) which in the T-SQL needs to be converted to
a DateTime.
How should I have the GridView format the text the user enters in the date
col ?
Currently, if user enters "2/14/2006" , I format it as '2/14/2006' ... but
this gives me a runtime error:
Server Error in '/code' Application.
----------------------------------------------------------
The string was not recognized as a valid DateTime. There is a unknown
word starting at index 0.
My table has a primary key defined on an Identity col.