how to edit data in html form after retrieving it from database

peersanzz

New Member
i have created and added data into database through jsp.Now my problem is with edit/update the database which should be done through html form.In one for i select student rollno and form should display all other fields and then i can edit it and update the database.\[code\] <body> <!--<form id="frmExamRegistration" method="post" enctype="multipart/form-data" class="anu">--> <form name="f1" method="post" class="anu"> <%@include file="adminheader.jsp"%><%@include file="sidemenus.jsp" %> <div id="container"> <div style="float:right;width:10%;border:0;font-color:#163362"><a href=http://stackoverflow.com/questions/15847469/logout.jsp">Log Out</a></div><br> <div class="content"><B><center>View Student</center></B><br> <div class="formElements,rightcol" align="center"> <label>Roll No: <span><input type="text" id="txtRollno" name="txtRollno" ></span></label> <div><br> <div class="buttons"> <button type="submit" class="primaryAction">View</button>&nbsp&nbsp&nbsp; <button type="reset" class="primaryAction">Clear</button> </div> </div> </div> </form> </body>\[/code\]
 
Back
Top