|
|
|||||||||
|
|||||||||
|
|||||||||
| |
||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Retaining user selection
<i><b>Originally posted by : Bonnie (bonner1975@yahoo.com)</b></i><br />If a user selects an item from a dropdown box and then clicks on a submit button, how do<br />you retain the information on the screen? It keeps refreshing the data on me.
|
|
#2
|
|||
|
|||
|
<i><b>Originally posted by : steve (steve@aspfree.com)</b></i><br />post your code or a sample please<br />------------<br />Bonnie at 2/26/2002 9:31:17 AM<br /><br />If a user selects an item from a dropdown box and then clicks on a submit button, how do<br />you retain the information on the screen? It keeps refreshing the data on me.
|
|
#3
|
|||
|
|||
|
<i><b>Originally posted by : Bonnie (bonner1975@yahoo.com)</b></i><br />When you click on the submit button, I want the <%=RS("emp_record_display")%> to show and not the <br /><%=RS("emp_record")%>. Any help you can give, would be great.<br />Thanks<br /><br /><%SQLStr = "usp_Subs '" + Session("center") + "'"<br />Set RS = Conn.Execute(SQLStr) %> <br /><SELECT id=record name=record><br /><option selected><%=Request.Form("record")%></option><br /><%Do While not RS.EOF %><br /><option value='<%=RS("emp_record")%>'><%=RS("emp_record_display")%></option> <br /><%RS.MoveNext%><br /><%loop%><br /></SELECT><br /><% RS.close%><br /><br /><br /><br />------------<br />steve at 2/27/2002 10:04:11 PM<br /><br />post your code or a sample please<br />------------<br />Bonnie at 2/26/2002 9:31:17 AM<br /><br />If a user selects an item from a dropdown box and then clicks on a submit button, how do<br />you retain the information on the screen? It keeps refreshing the data on me.
|
![]() |
| Viewing: ASP Free Forums > Programming > .NET Development > Retaining user selection |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|