Adding data to table
-
when i try to add data into the table, when the add button is click, they would say no items found. Screenshot: http://img525.imageshack.us/img525/3897/howcomei.png[^] needing help!
-
when i try to add data into the table, when the add button is click, they would say no items found. Screenshot: http://img525.imageshack.us/img525/3897/howcomei.png[^] needing help!
you need to update your object, as the value of the textbox is not magic and will not jump into place by itself. also - as you're asking several questions about it: Essentials, Part 1, Lesson 7: Database Access and Permissions @ Sun Online Training a book is also a good invest. regards, Torsten
I never finish anyth...
-
you need to update your object, as the value of the textbox is not magic and will not jump into place by itself. also - as you're asking several questions about it: Essentials, Part 1, Lesson 7: Database Access and Permissions @ Sun Online Training a book is also a good invest. regards, Torsten
I never finish anyth...
oh update object meaning? so sorry for asking cos i am very new and still dunno much. This also occurs when the delete button is being clicked. my code as shown below:
public String incidentDel_btn_action() { form1.discardSubmittedValues("addIncidentStatus"); try { RowKey rk = tableRowGroup2.getRowKey(); if (rk != null) { incidentstatusDataProvider.removeRow(rk); incidentstatusDataProvider.commitChanges(); incidentstatusDataProvider.refresh(); } } catch (Exception ex) { log("ErrorDescription", ex); error(ex.getMessage()); } return null; }
modified on Thursday, December 23, 2010 3:26 AM