Hi,
I have used several drop down list boxes for my program.
So far I have managed to get the information from SQLServer. However, I have noticed that I keep getting one or two blank cells within my drop down lists.
Really I would like to get rid of these blank cells in order to make the drop down lists look neat.
Does anyone know why this is happening and whether there is a solution to this problem?
Thanking you in advance
Drop Down List Entries
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.
Sandilian Arumugam10 pointsPosted Dec 17, 2007, 9:23 PM EST
I think you are using Asp.net Drop Down List.
I suggest two option to you.
1. Check the database vaules Which you bound with the drop down List.I think any of the row value in SQL Server may be null or blank.
2. Clear the drop down list before binding it.