ModifyImage.aspx

(开头部分) 3KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

<%@ Page Language="C#" AutoEventWireup="true" CodeFile="ModifyImage.aspx.cs" Inherits="ModifyImage"  Debug="true"%>

<!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">
        .style1
        {
            width: 778px;
            height: 146px;
        }
    </style>
</head>
<body background="images/1318126414318.jpg">
    <form id="form1" runat="server">
    <div>
        <table style="width: 778px">
            <tr>
                <td colspan="2" style="height: 21px">
                    <%--<asp:SiteMapPath ID="SiteMapPath1" runat="server" Font-Names="Verdana" Font-Size="0.8em"
                        PathSeparator=" : ">
                        <PathSeparatorStyle Font-Bold="True" ForeColor="#5D7B9D" />
                        <CurrentNodeStyle ForeColor="#333333" />
                        <NodeStyle Font-Bold="True" ForeColor="#7C6F57" />
                        <RootNodeStyle Font-Bold="True" ForeColor="#5D7B9D" />
                    </asp:SiteMapPath>--%>
                    <img alt="" class="style1" src="images/2.jpg" /></td>
            </tr>
            <tr>
                <td style="width: 38px; height: 370px">
                    <asp:BulletedList ID="BulletedList1" runat="server" DataSourceID="SqlDataSource1"
                        DataTextField="Title" DataValueField="id" DisplayMode="LinkButton" 
                        OnClick="BulletedList1_Click">
                    </asp:BulletedList>
                    <asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:sqlcon %>"
                        
                        
                        SelectCommand="SELECT id,[Title] FROM [Photo] WHERE ([CategoryID] = @CategoryID)">
                        <SelectParameters>
                            <asp:QueryStringParameter Name="CategoryID" QueryStringField="CategoryID" 
                                Type="Int32" />
                        </SelectParameters>
                    </asp:SqlDataSource>
                </td>
                <td style="width: 100px; height: 370px; text-align: center">
                    <asp:Image ID="Image1" runat="server" Height="80px" Visible="False" Width="120px" /><br />
                    图片分类:<asp:DropDownList ID="DropDownList1" runat="server" OnSelectedIndexChanged="DropDownList1_SelectedIndexChanged">
                     
                    </asp:DropDownList><br />
                    图片名称:<asp:TextBox ID="TextBox1" runat="server" Width="279px"></asp:TextBox><br />
                    <br />
                    图片简介:<asp:TextBox ID="TextBox2" runat="server" Height="104px" TextMode="MultiLine"
                        Width="278px"></asp:TextBox><br />
                    <asp:Button ID="Button1" runat="server" OnClick="Button1_Click" Text="更新" />
                    <asp:Button ID="Button2" runat="server" OnClick="Button2_Click" Text="删除" /></td>
            </tr>
        </table>
    
后面还有 7 行代码,购买后查看完整代码

24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明

AI 解读 AI

登录后可用,每次 10 算力,解读结果公开显示在下面。

还没有人解读过这个文件。