我改怎么写这个按钮事件呀?请给我个思维,谢谢
wenti:1.
有一个文本框和二个dropdownlist,第一个dropdownlist返回的记录要求为25,50 ,75,100 第二个dropdownlist返回的记录为全部,现在我在文本框输入一个(中国),第一个dropdownlist返回25条记录吧,然后我点按钮,触发事件,我不知道这个二个dropdownlist的关系如何处理?谢谢
2.
我改怎么写这个按钮事件呀?请给我个思维,谢谢
3.
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>
--------------------编程问答--------------------
不知所然 --------------------编程问答-------------------- 题意说的不清。 --------------------编程问答-------------------- ..楼主这表达能力。。 --------------------编程问答-------------------- 学习学习,看看大家的思路很重要 --------------------编程问答-------------------- 重新说一下可以吗,尽量描述清楚。 --------------------编程问答-------------------- 二个dropdownlist,一个是返回25条记录,另一个返回全部记录,可是我在按钮事件中怎么处理这二个dropdownlist了
--------------------编程问答-------------------- 揣测不了LZ的意思
补充:.NET技术 , C#