Click here to Skip to main content
15,891,607 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I am not getting how to code it that's why i havent wrote any code here. i have a database where i have asset id , make, model no, serial no and username . I have a serial number as a radio button and blank text box fields like username , make, model no ... when i select on serial number from 4 serial numbers then i want textboxes automatically get the data from database according to the serial number.

Please help me out as i m new to the java programming.
Posted
Updated 1-Dec-15 23:18pm
v2
Comments
Kornfeld Eliyahu Peter 2-Dec-15 5:25am    
You may use Java, JavaScript, JSP(?), SQL, Oracle, but do not mix them!

1 solution

Write the code in your checkbox event!!!
As you check the corresponding check box their related event gets generated.

In the event when the check selection changes selection event is generated [Make use of the Tag ]

Use properties to hold the values that u get from your database and Pass the Parameter and get the Values [Make use of data readers]

and assign the values to the textboxes.


You can Ref this link Example
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900