Hi,
I have hard coded and added items to dropdownlist ie teamsize as 1,2,3 like that.
When i load this dropdownlist for edit/update i get duplicate values like this
1
2
3
4... How do i eliminate this duplicate values?
Sir,
Here is the dropdownlist
<asp:DropDownList ID="drpprojname" runat="server" AutoPostBack="True" CssClass="DropDownListStyle" onselectedindexchanged="drpprojname_SelectedIndexChanged" Width="150px"> </asp:DropDownList>
Where are the hardcoded values? In your question you said you have hardcoded 1-2-3
I had just given example..
So meaning you have not hardcoded anything?
© COPYRIGHT 2025 ASPSnippets.com ALL RIGHTS RESERVED.