product.aspx

来自「能够实现在线图书的检索功能」· ASPX 代码 · 共 58 行

ASPX
58
字号
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="product.aspx.cs" Inherits="_Default" %>

<!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  onkeydown="if(event.keyCode==13){document.all.Button1.focus();document.all.Button1.click();}">
    <form id="form1" runat="server">
    <div style="font-weight: bold; color: dodgerblue">
        &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
        &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
        &nbsp; &nbsp;&nbsp;<br />
                &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<table style="width: 463px">
            <tr>
                <td style="width: 3px">
                    <img src="005.jpg" style="width: 94px; height: 47px" /></td>
                <td style="width: 3px">
        <asp:TextBox ID="TextBox1" runat="server" Width="360px"></asp:TextBox>
        <asp:Button ID="Button1" runat="server" Text="搜索" OnClick="Button1_Click" /></td>
            </tr>
        </table>
        &nbsp; &nbsp; &nbsp;&nbsp;
    </div>
    <hr />
        &nbsp;<br />
        <asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:GotoBuyConnectionString2 %>"
            ProviderName="<%$ ConnectionStrings:GotoBuyConnectionString2.ProviderName %>"
            SelectCommand="SELECT [M_ID], [Detail], [ISBN], [ZZ], [CBS], [jg] FROM [goods_mouse]" OnSelecting="SqlDataSource1_Selecting">
        </asp:SqlDataSource>
        <br />
        &nbsp; &nbsp; &nbsp; &nbsp;
        <table style="width: 568px; height: 192px">
            <tr>
                <td style="width: 4px">
                    <asp:Label ID="Label3" runat="server" BorderStyle="Double" Height="351px" Width="297px"></asp:Label>&nbsp;</td>
                <td style="width: 1331px">
                    &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
                    <asp:Label ID="Label1" runat="server" Height="216px" Width="248px"></asp:Label></td>
            </tr>
        </table>
        <br />
        <br />
        <br />
        <table style="width: 568px; height: 288px">
            <tr>
                <td>
                    <asp:Label ID="Label2" runat="server"></asp:Label></td>
            </tr>
        </table>
        <br />
        <br />
        &nbsp;
    </form>
</body>
</html>

⌨️ 快捷键说明

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