【 tulaoshi.com - Javascript 】
aspx文件
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"
<html xmlns="http://www.w3.org/1999/xhtml"
<head id="Head1" runat="server"
<title无标题页</title
</head
<body
<form id="form1" runat="server"
<div
<asp:ScriptManager ID="ScriptManager1" runat="server"
</asp:ScriptManager
</div
<asp:UpdatePanel ID="UpdatePanel1" runat="server"
<ContentTemplate
<asp:GridView ID="GridView1" runat="server" CellPadding="0" ForeColor="#333333" GridLines="None" AllowPaging="True" AutoGenerateColumns="False" Width="100%" OnPageIndexChanging="GridView1_PageIndexChanging" PageSize="5" BorderStyle="Solid" BorderWidth="1px"
<Columns
<asp:TemplateField
<HeaderStyle Width="100%" /
<ItemTemplate
<table border="0" cellpadding="2" cellspacing="1"
<tr
<td用户姓名:<%#Eval("name") %留言时间:<%#Eval("sdate")%</td
</tr
<tr<td<hr width="100%" color="green"/</td</tr [next]
<tr<td留言内容:<%#Eval("couent")%</td</tr
</table
</ItemTemplate
</asp:TemplateField
</Columns
&nbs