This week's book giveaway is in the Agile and other Processes forum. We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line! See this thread for details.
How to display fields retrieved from a database in Editable mode?
Vineet Sharma
Ranch Hand
Joined: Dec 30, 2000
Posts: 51
posted
0
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
Sandeep Agarwal
Greenhorn
Joined: Jan 23, 2001
Posts: 2
posted
0
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>";
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to
run our stuff on 16 servers instead of 3.
subject: How to display fields retrieved from a database in Editable mode?