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

📄 delete.aspx

📁 点击“开始数据同步” 按钮后
💻 ASPX
字号:
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="delete.aspx.cs" Inherits="Mypb.delete" %>

<!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>
    <style type="text/css">

        .style5 { FONT-SIZE: xx-large; COLOR: #ffffff; BACKGROUND-COLOR: #00ffff }
        .style6 { FONT-WEIGHT: bold; FONT-FAMILY: 华文彩云 }
        .style7
        {
            width: 573px;
        }
    </style>
</head>
<body>
    <form id="form1" runat="server">
    <div>
    
    </div>
    <asp:DropDownList ID="DropDownList1" runat="server" AutoPostBack="True" 
        DataSourceID="AccessDataSource1" DataTextField="姓名" DataValueField="姓名" 
        Height="16px" Width="154px">
    </asp:DropDownList>
    <table style="width:100%;">
        <tr>
            <td class="style7">
                <span class="style5">
								<span class="style6">
									<asp:DataGrid id="DataGrid1" runat="server" 
                    DataSourceID="AccessDataSource2" style="font-family: 华文宋体" Width="735px"></asp:DataGrid>
								</span>
							</span>
						</td>
            <td>
                &nbsp;</td>
            <td>
                &nbsp;</td>
        </tr>
        <tr>
            <td class="style7">
                <asp:Label ID="Label1" runat="server"></asp:Label>
            </td>
            <td>
                &nbsp;</td>
            <td>
                &nbsp;</td>
        </tr>
        <tr>
            <td class="style7">
                <asp:Button ID="Button1" runat="server" onclick="Button1_Click" Text="确定" 
                    Width="63px" />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                <asp:Button ID="Button2" runat="server" onclick="Button2_Click" Text="返回" 
                    Width="66px" />
            </td>
            <td>
                &nbsp;</td>
            <td>
                &nbsp;</td>
        </tr>
    </table>
    <asp:AccessDataSource ID="AccessDataSource1" runat="server" 
        DataFile="~/App_Data/Myphonebook.mdb" SelectCommand="SELECT [姓名] FROM [通信录]">
    </asp:AccessDataSource>
    <asp:AccessDataSource ID="AccessDataSource2" runat="server" 
        DataFile="~/App_Data/Myphonebook.mdb" 
        SelectCommand="SELECT * FROM [通信录] WHERE ([姓名] = ?)">
        <SelectParameters>
            <asp:ControlParameter ControlID="DropDownList1" Name="姓名" 
                PropertyName="SelectedValue" Type="String" />
        </SelectParameters>
    </asp:AccessDataSource>
    </form>
</body>
</html>

⌨️ 快捷键说明

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