还有一个按钮,请问我在按钮事件中怎么写呀
1.查询功能:
textbox 输入查询信息字符串
有二个dropdownlist ,第一个dropdownlist返回的记录为25
第二个dropdownlist返回的记录为全部,
还有一个按钮,请问我在按钮事件中怎么写呀
2.
code:
<td align="center" nowrap="nowrap" class="left_title">
中文主题关键字:</td><td nowrap="nowrap" class="left_title">
<asp:TextBox ID="TextBox_mc" runat="server"></asp:TextBox>(拉丁字母一律用小写)
</td>
</tr>
<tr><td align="center" nowrap="nowrap" class="left_title"> 返回记录数:</td><td nowrap="nowrap" class="left_title"> <asp:DropDownList id="DDL" runat="server" AutoPostBack="true" Width="80">
<asp:ListItem Text="25" Selected="True">25</asp:ListItem>
<asp:ListItem Text="75">75</asp:ListItem>
<asp:ListItem Text="100">100</asp:ListItem>
<asp:ListItem Text="150">150</asp:ListItem>
<asp:ListItem Text="200">200</asp:ListItem>
</asp:DropDownList>
<asp:DropDownList ID="DDL2" runat="server" AutoPostBack="true" Width="80">
<asp:ListItem Text="all" Selected="True">all</asp:ListItem>
<asp:ListItem Text="30">30</asp:ListItem>
</asp:DropDownList></td></tr>
<tr>
<td colspan="2" nowrap="nowrap" align="center">
<input id="Button1" type="button" onclick="t()" value="查 询" />
</td>
</tr>