Results 1 to 2 of 2
- 01-05-2009, 06:55 PM #1Member
- Join Date
- Nov 2008
- Kuala Lumpur,Malaysia
- Rep Power
hi......i wanted to know how to update value from radiobutton(java) into database (Microsoft Access)-which is in the form of combobox-Male or Female
i was only able to retrieve the gender in java from database.....so i use this way
String gender =rsMember.getString("Sex");//from database
jrbMale.setSelected(true);//here can set but how to get
so,how to get the value(M or F) from radiobutton and pass it or update into the database...?
char male=jrbMale.getSelected//this is not working
char male=jrbMale.getSelectedObjects();//also not working
if anyone got solution please correct it for me.....
after getting the value.....how to update
is it like this...
- 01-05-2009, 08:04 PM #2
- By newtojava7 in forum New To JavaReplies: 1Last Post: 03-17-2008, 02:58 AM