Advertisement

05.19.2008 at 03:35PM PDT, ID: 23415424
[x]
Attachment Details

How can I remove an item from a drop down list without changing the index of the other items?

Asked by Leops in Programming for ASP.NET, VB Controls, Microsoft Visual Basic.Net

Tags: ,

I am modifying an existing application.
I want to have the least impact with the hole function of the website.
I need to remove the item in index 0 of my dropdownlist.
The problem is that the next item that will be added need to get index 1.
I think in leaving the item and hiding it but i do not know if this is possible.
Also I am thinking in remove the item from the list and set the start index in 1 instead of 0.
Thank you in advanced for your helpStart Free Trial
[+][-]05.20.2008 at 04:09AM PDT, ID: 21604989

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: Programming for ASP.NET, VB Controls, Microsoft Visual Basic.Net
Tags: vb, ASP .NET 1.1, any
Sign Up Now!
Solution Provided By: G0ggy
Participating Experts: 1
Solution Grade: A
 
 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628