Newscontent.aspx

(完整代码) 2KB

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

<!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>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><style type="text/css">
<!--
body {
	background-color: #000000;
}
-->
</style></head>
<body>
    <table width="800" height="128" border="0" align="center" cellpadding="0" cellspacing="0">
      <tr>
        <td height="128"><img src="images/eng.jpg" width="798" height="128" /></td>
      </tr>
    </table>
    <table width="800" height="700" border="0" align="center" cellpadding="0" cellspacing="0">
      <tr>
        <td valign="top" bgcolor="#FFFFFF">&nbsp;<asp:AccessDataSource ID="AccessDataSource1" runat="server" DataFile="~/App_Data/news.mdb"
                SelectCommand="SELECT [News_Content], [News_Title] FROM [newsinfo] WHERE ([xiao_ID] = ?)">
                <SelectParameters>
                    <asp:QueryStringParameter Name="xiao_ID" QueryStringField="xiao_ID" Type="Int32" />
                </SelectParameters>
            </asp:AccessDataSource>
            <asp:Repeater ID="Repeater1" runat="server" DataSourceID="AccessDataSource1">
            </asp:Repeater>
            &nbsp;<asp:DataList ID="DataList1" runat="server" DataKeyField="News_ID" DataSourceID="AccessDataSource2">
                <ItemTemplate>
                    <asp:Label ID="Label1" runat="server" Text='<%# Eval("News_Content") %>'></asp:Label><br />
                </ItemTemplate>
            </asp:DataList><asp:AccessDataSource ID="AccessDataSource2" runat="server" DataFile="~/App_Data/news.mdb"
                SelectCommand="SELECT * FROM [newsinfo] WHERE ([News_ID] = ?)">
                <SelectParameters>
                    <asp:QueryStringParameter Name="News_ID" QueryStringField="ID" Type="Int32" />
                </SelectParameters>
            </asp:AccessDataSource>
        </td>
      </tr>
    </table>
    <form id="form1" runat="server">
    <div>
    
    </div>
    </form>
</body>
</html>

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

AI 解读

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

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