데이터베이스에서 항목 목록을 가져 오는 드롭 다운 목록 컨트롤이 있습니다.데이터 바인딩 된 DropDownList에 항목 추가
<asp:DropDownList ID="DropDownList1" runat="server" AutoPostBack="True"
DataSourceID="SqlDataSource2" DataTextField="semester"
DataValueField="semester">
</asp:DropDownList>
그러나 처음에 목록 항목 하나를 "ALL"로 추가하고 싶습니다. 어떻게 추가 할 수 있습니까?
고마워!
이 질문과 중복되는 것으로 보입니까? -> http://stackoverflow.com/questions/679128/add-empty-item-to-dropdownlist-of-custom-objects-in-c – JohnIdol