还有一个按钮,请问我在按钮事件中怎么写呀
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>
--------------------编程问答-------------------- 能给我个例子吗
--------------------编程问答-------------------- 第二个是什么全部啊。。
前面那个不是返回了条数吗?那个25.。。
还有。。后面那个按钮是做什么的啊。。。你得说清楚啊
--------------------编程问答-------------------- http://www2.stupress.com:8088/subject/hjt/output/search%20index.html
这是连接地址
第一个dropdownlist返回的记录为25
第二个dropdownlist返回的记录为全部
这个级联下拉列表怎么在按钮事件中写呀
--------------------编程问答-------------------- 我的思维:
先绑定二个 dropdownlist的数据
然后再写这二个dropdownlist的SelectedIndexChanged(object sender, EventArgs e)
然后再写按钮的事件吧
现在这个按钮的事件我是不会处理
可能这就要这二个dropdownlist的级联运用了
补充:.NET技术 , C#