MyLesson/ServiceUser/BBs.aspx
(开头部分) 4KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="BBs.aspx.cs" Inherits="MyLesson.ServiceUser.BBs" %>
<!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>
<form id="form1" runat="server">
<div>
<table style="width:100%;">
<tr>
<td style="height: 34px">
<asp:LinkButton ID="LinkButton1" runat="server" OnClick="LinkButton1_Click">发布信息</asp:LinkButton></td>
</tr>
<tr>
<td style="text-align: left; height: 376px;" valign="top" align="left">
<asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" BorderWidth="1px"
CellPadding="4" DataSourceID="SqlDataSource1" EmptyDataText="暂无信息"
PageSize="13" Width="657px" BackColor="White" BorderColor="#CCCCCC"
BorderStyle="None" ForeColor="Black" GridLines="Horizontal"
onrowcommand="GridView1_RowCommand" onrowdatabound="GridView1_RowDataBound">
<Columns>
<asp:TemplateField>
<ItemTemplate>
</ItemTemplate>
<ItemStyle Width="2px" />
</asp:TemplateField> <asp:HyperLinkField DataNavigateUrlFields="id" DataNavigateUrlFormatString="ShowTopic.aspx?id={0}"
DataTextField="Topic" HeaderText="标题">
<HeaderStyle Height="30px" Width="200px" />
<ItemStyle Height="30px" Width="200px" />
</asp:HyperLinkField>
<asp:BoundField DataField="AddUser" HeaderText="发帖者">
<HeaderStyle Height="30px" Width="100px" />
<ItemStyle Height="30px" Width="100px" />
</asp:BoundField>
<asp:BoundField DataField="Addtime" DataFormatString="{0:d}" HeaderText="时间">
<HeaderStyle Height="30px" Width="100px" />
<ItemStyle Height="30px" Width="100px" />
</asp:BoundField>
<asp:TemplateField>
<ItemTemplate>
<asp:LinkButton CssClass="LinkStyle" runat="server" ID="btnDelete" Text="删除" CommandArgument='<%# DataBinder.Eval(Container.DataItem,"id") %>' CommandName="btnDelete" />
</ItemTemplate>
</asp:TemplateField>
</Columns>
<FooterStyle BackColor="#CCCC99" ForeColor="Black" />
<HeaderStyle BackColor="#333333" Font-Bold="True" ForeColor="White" />
<PagerStyle BackColor="White" ForeColor="Black" HorizontalAlign="Right" />
<SelectedRowStyle BackColor="#CC3333" Font-Bold="True" ForeColor="White" />
<SortedAscendingCellStyle BackColor="#F7F7F7" />
<SortedAscendingHeaderStyle BackColor="#4B4B4B" />
<SortedDescendingCellStyle BackColor="#E5E5E5" />
<SortedDescendingHeaderStyle BackColor="#242121" />
</asp:GridView>
<asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:connStr %>">
</asp:SqlDataSource>
</td>
后面还有 6 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明
AI 解读 AI
登录后可用,每次 10 积分,解读结果公开显示在下面。
还没有人解读过这个文件。
