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
Loading
Sandilian ArumugamPosted Dec 18, 2007, 2:23 AM
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.