아무도 내가 ASP에서 기본 값을 선택하면 알 수 있습니까? : DropDownList?어떻게 내가 ASP에서 기본값을 선택할 수 있습니다 : DropDownList
다음은 내 코드입니다 :
<tr>
<th align="right"><strong>Test: </strong></th>
<td>
<asp:DropDownList ID="Test" runat="server" DataSourceID="dsTest"
DataValueField="TestID" DataTextField="TestName" AppendDataBoundItems="true">
<asp:ListItem></asp:ListItem>
</asp:DropDownList>
<asp:SqlDataSource ID="dsTest" runat="server" ConnectionString="<%$ ConnectionStrings:Test %>"
SelectCommand="test_select" SelectCommandType="StoredProcedure">
</asp:SqlDataSource>
</td>
</tr>
어떻게이 시험 ID입니다 표시 목록이 1 인 선택을 할 수 있습니까?