내가 드롭 다운의 값을 선택 얻을하고자하는 파일을하고 난 자바 스크립트를 사용하여 제어 RUNAT = "서버"Asp.net : .cs에서 드롭 다운 메뉴에서 선택한 값을 얻는 것은
<form id="form" action="Default.aspx" method="post">
<table>
<tbody>
<tr>
<td align="left" >
<select id="formsSelect" style="font-family: arial,sans-serif;font-size:10px;>
<%
for (int x = 0; x < forms.Count; x++)
{
%>
<option><%= forms[x].ToString() %></option>
<%
}
%>
</select>
<input type="submit" name="formType" value="Search" style="color: #000000;"/>
</td>
</tr>
</tbody>
</table>
</form>
도움
동일한 페이지 또는 Default.aspx? –
ASP.Net 드롭 다운 컨트롤을 사용하지 않는 이유는 무엇입니까? – Junaid
@WaqarJanjua yes on same page – Elvin