除了网页中的代码外,我们还需要在DropDownList控件的SelectedIndexChanged事件中加入如下代码:
protected void DropDownList1_SelectedIndexChanged(object sender, EventArgs e) {
ListBox1.DataBind(); }
3.ex7_3.aspx文件的源代码如下: <%@ Page Language=\AutoEventWireup=\CodeFile=\Inherits=\ListView——分页显示