How to display fields retrieved from a database in Editable mode?
Joined: Dec 30, 2000
I have a servlet that uses JDBC to connect to Access and reads a table. I need to display the data retrieved from the table on an HTML screen in editable mode. In othe words, the user should be able to change the data that I display on the screen, eg., updating user profile. I am doing the following but it's not working: htmlString +="<TD>" + dbRS.getString(1) = "</TD>"; I would appreciate any feedback. Thanks, Vineet
Joined: Jan 23, 2001
U wil have to put the values in a text field htmlString +="<form>+ htmlString +="<TD><input type=text name=myFiled value=" + dbRS.getString(1) + "></TD>"+ htmlString +="</form>";