ink777
September 23rd, 2003, 04:53 AM
Hi,
I have a field in an SQL Server 2000 Database which has the value '2002-12-12 11:00:00'.
I query for a row from the database and try to display it using JSP. i.e. I call
<input type=text name="eDateTime" value = <%=rst.getString(9)%>>
But only '2002-12-12' is displayed. What am I missing here? The field is of type 'smalldatetime' in the database.
Thanks for your time.
I have a field in an SQL Server 2000 Database which has the value '2002-12-12 11:00:00'.
I query for a row from the database and try to display it using JSP. i.e. I call
<input type=text name="eDateTime" value = <%=rst.getString(9)%>>
But only '2002-12-12' is displayed. What am I missing here? The field is of type 'smalldatetime' in the database.
Thanks for your time.