⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 default6.aspx

📁 上海中商互联 六线主机空间
💻 ASPX
字号:
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default6.aspx.cs" Inherits="Default6" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>无标题页</title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <asp:DropDownList ID="DropDownList1" runat="server" AutoPostBack="True" OnSelectedIndexChanged="DropDownList1_SelectedIndexChanged"
            Width="153px">
        </asp:DropDownList>
        <asp:Label ID="Label1" runat="server" Text="Label"></asp:Label>
        <br />
        <br />
        <asp:DropDownList ID="DropDownList2" runat="server" AutoPostBack="True" DataSourceID="AccessDataSource1"
            DataTextField="省分" DataValueField="classid">
        </asp:DropDownList>
        <asp:DropDownList ID="DropDownList3" runat="server" AutoPostBack="True" DataSourceID="AccessDataSource2"
            DataTextField="城市" DataValueField="classid">
        </asp:DropDownList>
        <asp:DropDownList ID="DropDownList4" runat="server" DataSourceID="AccessDataSource3"
            DataTextField="县区" DataValueField="classid">
        </asp:DropDownList>
        <asp:AccessDataSource ID="AccessDataSource3" runat="server" DataFile="~/App_Data/admin.mdb"
            SelectCommand="SELECT [classid], [县区] FROM [class] WHERE ([classid] = ?)">
            <SelectParameters>
                <asp:ControlParameter ControlID="DropDownList3" Name="classid" PropertyName="SelectedValue"
                    Type="String" />
            </SelectParameters>
        </asp:AccessDataSource>
        <asp:AccessDataSource ID="AccessDataSource1" runat="server" DataFile="~/App_Data/admin.mdb"
            SelectCommand="SELECT [classid], [省分] FROM [class]"></asp:AccessDataSource>
    
    </div>
        <asp:AccessDataSource ID="AccessDataSource2" runat="server" DataFile="~/App_Data/admin.mdb"
            SelectCommand="SELECT [classid], [城市] FROM [class] WHERE ([classid] = ?)">
            <SelectParameters>
                <asp:ControlParameter ControlID="DropDownList2" Name="classid" PropertyName="SelectedValue"
                    Type="String" />
            </SelectParameters>
        </asp:AccessDataSource>
        <br />
        <asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>
        <asp:Button ID="Button1" runat="server" OnClick="Button1_Click" Text="Button" />
        <asp:DropDownList ID="DropDownList5" runat="server">
        </asp:DropDownList>
    </form>
</body>
</html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -