📄 shownews.aspx
字号:
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="shownews.aspx.cs" Inherits="shownews" %>
<!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="65" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td><img src="images/yijia.jpg" width="800" height="126" /></td>
</tr>
</table>
<table width="800" height="700" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td valign="top" bgcolor="#FFFFFF"> <asp:AccessDataSource ID="AccessDataSource1" 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>
<asp:DataList ID="DataList1" runat="server" DataKeyField="News_ID" DataSourceID="AccessDataSource1">
<ItemTemplate>
<asp:Label ID="Label1" runat="server" Text='<%# Eval("News_Content") %>'></asp:Label><br />
<br />
</ItemTemplate>
</asp:DataList></td>
</tr>
</table>
<form id="form1" runat="server">
<div>
</div>
</form>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -