wood burning stoves 2.0*
The moose likes JDBC and the fly likes Edit DataTable Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "Edit DataTable " Watch "Edit DataTable " New topic
Author

Edit DataTable

Anthonio Booysen
Greenhorn

Joined: Oct 27, 2008
Posts: 10
Good Morning All (Beginner to Java)

I am connected to a mssql database and displaying the results set in my index.jsp page. I now want to update the datable directly to the database. I have a h:selectBooleanCheckbox and want to update the table via the check box

Can someone help em with the code

Tx
Anthonio
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 37884
    
  22
I take it you are familiar with the JDBC API?

I think this thread would sit better on the JDBC forum. Moving.
Anthonio Booysen
Greenhorn

Joined: Oct 27, 2008
Posts: 10
Hi

I am not that clued with API, but I have the connections in place. The only thing i need to get my update working.

What I have currently is a selectBooleanCheckbox where they can select what they want to update. I would like to let it render a input text which I have in my code and to buttons





So when they click the radio selectBooleanCheckbox and press the webPageUpdate it should open a text for them to change the values. After changing the values they will then click the saveChanges button it will then write the value to the database.

In my SDRDataAccessDAO class I have a method with my update statement



I need some assistance with this please.

Tx
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Edit DataTable
 
Similar Threads
cache data
Making Systems for Web Services?
Not to update database before 1 minute
how can I update xml file in java?
update query