.NET Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
 
User Name:
Password:
Remember me
Go Back   ASP Free ForumsProgramming.NET Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread ASP Free Forums Sponsor:
  #1  
Old February 19th, 2002, 10:49 AM
Steve Schofield Steve Schofield is offline
Contributing User
ASP Free God 20th Plane (14500 - 14999 posts)
 
Join Date: Dec 2002
Posts: 14,575 Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 22
dropdown menu

<i><b>Originally posted by : Gio (gciocche@yahoo.com)</b></i><br />I have an ASP page and I am populating a dropdown box with information from a database and I am masking some of the data. I am using the following code for when a user clicks on a submit button, it holds the users selection without refreshing the page.<br /><br /><option selected><%=Request.Form("EmpRecord")%></option><br /><br />The problem is that when it comes back through, it is displaying the unmasked data and not the masked data. <br /><br /><%SQLStr = "usp_Employees '" + Session("CenterNumber") + "'"<br />Set RS = EmpConn.Execute(SQLStr) %> <br /><SELECT id=EmpRecord name=EmpRecord><br /><option selected><%=Request.Form("SubEmpRecord")%></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 />

Reply With Quote
Reply

Viewing: ASP Free ForumsProgramming.NET Development > dropdown menu


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 4 hosted by Hostway