Results 1 to 1 of 1
Nov 28, 2011, 20:51 #1
- Join Date
- Nov 2011
- Cabanatuan City, Philippines
- 0 Post(s)
- 0 Thread(s)
Retrieve selected value on a combo box
I have an edit page and i want to select the value of the combo box depending on the id on another the table.this is the code for the combo box
sql2= "SELECT * FROM tblusers "
Set rs6= Server.CreateObject("ADODB.Recordset")
rs6.Open sql2, Conn, 1,3
While not rs6.EOF
Set rs6= nothing
the selected value will depend on <%=rs("uid")%> which is also a user id that is located in the data table. the rs6 is the table for the users.