The moose likes JDBC and Relational Databases and the fly likes Edit DataTable Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "Edit DataTable " Watch "Edit DataTable " New topic

Edit DataTable

Anthonio Booysen

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

Campbell Ritchie

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

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

Joined: Oct 27, 2008
Posts: 10

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.

I agree. Here's the link:
subject: Edit DataTable
It's not a secret anymore!