📄 service_a.aspx
字号:
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="service_a.aspx.cs" Inherits="service_a" %>
<!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>
<center>
<table border="0" cellpadding="0" cellspacing="0" width="850";">
<tr>
<td align="center" style="height: 45px; width: 849px;"><img src="users/image/top.jpg" id="IMG1" onclick="return IMG1_onclick() " height="100" alt="luolili" style="width: 823px"/>
</td>
</tr>
</table>
<table>
<tr>
<td style="height: 24px; width: 826px;">
<a href=admin.aspx><font size=4><i>后台管理首页</i></font></a>
<a href=adminuser.aspx><font size=4><i>用户管理</i></font></a>
<a href=adminproduct.aspx><font size=4><i>产品管理</i></font></a>
<a href=order.aspx><font size=4><i>订单管理</i></font></a>
<a href=service.aspx><font size=4><i>售后服务</i></font></a>
<a href=admindata.aspx><font size=4><i>数据统计</i></font></a>
<a href=news.aspx><font size=4><i>新闻管理</i></font></a>
</td>
</tr>
</table>
<table style="width: 530px">
<tr>
<td>
您当前位置:<a href=admin.aspx>后台管理首页</a> >><a href=service.aspx>售后服务</a>>><a href=service_a.aspx>回复正文</a>
</td>
</tr>
</table></center>
<center>
</center>
<center>
<asp:GridView ID="GridView1" runat="server" AllowPaging="True" AutoGenerateColumns="False"
CellPadding="4" DataKeyNames="id" DataSourceID="SqlDataSource1" ForeColor="#333333"
GridLines="None" Height="162px" Width="778px">
<FooterStyle BackColor="#990000" Font-Bold="True" ForeColor="White" />
<Columns>
<asp:CommandField ShowEditButton="True" />
<asp:BoundField DataField="id" HeaderText="编号" InsertVisible="False" ReadOnly="True"
SortExpression="id" />
<asp:BoundField DataField="answercontent" HeaderText="回复内容" SortExpression="answercontent" />
<asp:BoundField DataField="answertime" HeaderText="回复时间" SortExpression="answertime" />
<asp:BoundField DataField="answeruser" HeaderText="发表人" SortExpression="answeruser" />
<asp:BoundField DataField="askid" HeaderText="对应的主题编号" SortExpression="askid" />
</Columns>
<RowStyle BackColor="#FFFBD6" ForeColor="#333333" />
<SelectedRowStyle BackColor="#FFCC66" Font-Bold="True" ForeColor="Navy" />
<PagerStyle BackColor="#FFCC66" ForeColor="#333333" HorizontalAlign="Center" />
<HeaderStyle BackColor="#990000" Font-Bold="True" ForeColor="White" />
<AlternatingRowStyle BackColor="White" />
</asp:GridView>
<asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:EbusinessConnectionString12 %>"
DeleteCommand="DELETE FROM [service_answer] WHERE [id] = @id" InsertCommand="INSERT INTO [service_answer] ([answercontent], [answertime], [answeruser], [askid]) VALUES (@answercontent, @answertime, @answeruser, @askid)"
SelectCommand="SELECT * FROM [service_answer] ORDER BY [answertime] DESC" UpdateCommand="UPDATE [service_answer] SET [answercontent] = @answercontent, [answertime] = @answertime, [answeruser] = @answeruser, [askid] = @askid WHERE [id] = @id">
<DeleteParameters>
<asp:Parameter Name="id" Type="Int32" />
</DeleteParameters>
<UpdateParameters>
<asp:Parameter Name="answercontent" Type="String" />
<asp:Parameter Name="answertime" Type="DateTime" />
<asp:Parameter Name="answeruser" Type="String" />
<asp:Parameter Name="askid" Type="Int32" />
<asp:Parameter Name="id" Type="Int32" />
</UpdateParameters>
<InsertParameters>
<asp:Parameter Name="answercontent" Type="String" />
<asp:Parameter Name="answertime" Type="DateTime" />
<asp:Parameter Name="answeruser" Type="String" />
<asp:Parameter Name="askid" Type="Int32" />
</InsertParameters>
</asp:SqlDataSource>
</center>
</div>
</form>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -