Hi I am trying get user info from the database into the textbox when i select Usename Which is stored in the drop down. so could any help how to get all usernames into dropdown and when i select any usenames i should get all details into the text box.........please elp me
rakesh.mk 0 Newbie Poster
Recommended Answers
Jump to PostHi I am trying get user info from the database into the textbox when i select Usename Which is stored in the drop down. so could any help how to get all usernames into dropdown and when i select any usenames i should get all details into the text box.........please …
Jump to PostThis all depends entirely on where your usernames are stored. In a database? A file? Hard-coded?(better not be)
Open the Java API docs and review the contructors for JComboBox (assuming you plan to use the Swing framework) and that'll give you some ideas on how to add usernames to …
Jump to PostIs this part of an application or it should be used as part of web service?
Jump to Postya its a part of application. i need edit user information and store new values into same location.
<%!ArrayList usernameslist; %> <% InsertRegister insrt=new InsertRegister(); try{ usernameslist=insrt.editUserInfo(); } catch(SQLException sqe) { out.print(sqe.toString()); } %> <select type="text" name="select" class="spacer" id="select" onchange="fnChangeHandler_A(this, event); submitAction('EditUserInfo');"> <option>Select UserName</option> <% Iterator itres=usernameslist.iterator(); …
All 13 Replies
stultuske 1,116 Posting Maven Featured Poster
Phaelax 52 Practically a Posting Shark
rakesh.mk 0 Newbie Poster
rakesh.mk 0 Newbie Poster
puneetkay 40 Junior Poster
rakesh.mk 0 Newbie Poster
javaAddict 900 Nearly a Senior Poster Team Colleague Featured Poster
rakesh.mk 0 Newbie Poster
peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster
javaAddict 900 Nearly a Senior Poster Team Colleague Featured Poster
rakesh.mk 0 Newbie Poster
rakesh.mk 0 Newbie Poster
peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.