473,465 Members | 1,458 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Dropdown events disappear

1 New Member
Hi Team

I have placed some events in dropdown, now i want whichever events has been finished in particular date, they disappear automatically, how can i do it?
Jul 27 '10 #1
1 1327
jhardman
3,406 Recognized Expert Specialist
Expand|Select|Wrap|Line Numbers
  1. if datediff("d", rs("startDate"), now()) > 0 then
  2.    response.write "<option value=" & chr(34) & rs("eventID") & chr(34)  & ">" & rs("eventName") & "</option>"  vbNewLine
  3. end if
Let me know if this answers your question.

Jared
Jul 29 '10 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

5
by: Rekkie | last post by:
Hi, All of our developers using C# VS.Net 2003 to develop websites are having problems with Events being deleted from their code by Visual Studio. It seems that object events defined in the...
0
by: kinane3 | last post by:
Mostly I need to figure if I'm wasting my time or if there is a way to do what I am trying to do. I am an intermediate to CSS at best so please don't flame me, just trying to do my job here. I...
5
by: Tina | last post by:
Again, I'm a VB.Net Developer learining C# and I have another question... (BTW, my questions on this forum, thus far, have been "newbie" questions but no one seems to be able to answer any of...
1
by: Tina | last post by:
I'm a VB.Net developer learning C# so this is another newbie question.... (using 1.1) I posted a question about how to paste definitions for events in C# because in VB we use the vs.net left...
6
by: Steve Hershoff | last post by:
Hi everyone, I've got a strange one here. There are two datagrids on my page, one nested within the other. I'll refer to them as the topmost and secondary datagrids. In the topmost...
3
by: Martijn Mulder | last post by:
As soon as I add a UserControl to the Controls-property of my Form, the Form does not get any MouseEvent or KeyEvent anymore. When there is no UserControl added, the Form does get all the events. ...
1
by: redgoals | last post by:
Hi, I have searched the forum for a similar problem but have been unable to find anything. What i am trying to achieve is a dropdown menu which behaves in the following way: 1, Someone...
3
by: fish919 | last post by:
Hello All, I am creating a date base in access. I want to create a dropdown list box that is connected to another dropdown list box. You start with a dropdown list that has 5 choices and each of...
4
by: Waldy | last post by:
Hi there, I have a web form with some DropDownList controls that I am trying to trap the selection change and run the attached server code. However, even thought the controls have the runat...
1
by: Scott M. | last post by:
How can I get Visual Studio 2008 Pro. to show me a list of the Page class's events (as I can get in VB .NET)? In the page designer, with the DOCUMENT selected in the Properties Window, there is...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.