没有合适的资源?快使用搜索试试~ 我知道了~
ASP留言板程序设计源代码.txt
需积分: 12 1 下载量 105 浏览量
2019-06-27
23:01:44
上传
评论
收藏 8KB TXT 举报
温馨提示
试读
7页
简洁的留言板的程序代码,
资源推荐
资源详情
资源评论
页面代码:
<body>
<form id="form1" runat="server">
<asp:DataList ID="ImageList" runat="server" RepeatDirection="Vertical" Width="500px" CellPadding="0">
<ItemTemplate>
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td style="padding-left: 10px; height: 20px;">
留言称呼:<%# Eval("F_Name")%>(<%# Eval("F_AddTime")%>)
</td>
</tr>
<tr>
<td style="padding-left: 10px; height: 20px;">
留言主题:<%# Eval("F_Title")%>
</td>
</tr>
<tr>
<td style="padding-left: 10px; height: 20px; width: 500px; word-break: break-all; word-wrap: break-word;">
留言内容:<%# Eval("F_Book")%>
</td>
</tr>
<tr>
<td style="height: 5px;">
<div style="border-width: 2px; border-style: dashed none none none; border-color: #AB7D49; height: 4px;">
</td>
</tr>
</table>
</ItemTemplate>
</asp:DataList>
<body>
<form id="form1" runat="server">
<asp:DataList ID="ImageList" runat="server" RepeatDirection="Vertical" Width="500px" CellPadding="0">
<ItemTemplate>
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td style="padding-left: 10px; height: 20px;">
留言称呼:<%# Eval("F_Name")%>(<%# Eval("F_AddTime")%>)
</td>
</tr>
<tr>
<td style="padding-left: 10px; height: 20px;">
留言主题:<%# Eval("F_Title")%>
</td>
</tr>
<tr>
<td style="padding-left: 10px; height: 20px; width: 500px; word-break: break-all; word-wrap: break-word;">
留言内容:<%# Eval("F_Book")%>
</td>
</tr>
<tr>
<td style="height: 5px;">
<div style="border-width: 2px; border-style: dashed none none none; border-color: #AB7D49; height: 4px;">
</td>
</tr>
</table>
</ItemTemplate>
</asp:DataList>
</form>
</body>
关键代码:
using System;
using System.Data;
using System.Data.OleDb;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using System.Text;
public partial class Book_Get : System.Web.UI.Page
{
string strConn = System.Web.Configuration.WebConfigurationManager.ConnectionStrings["connStr"].ConnectionString;
string s_CurrentPage = string.Empty;
string s_PageCount = string.Empty;
string s_RecordCount = string.Empty;
int i_CurrentPage = 0;
int i_PageCount = 0;
int i_RecordCount = 0;
</body>
关键代码:
using System;
using System.Data;
using System.Data.OleDb;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using System.Text;
public partial class Book_Get : System.Web.UI.Page
{
string strConn = System.Web.Configuration.WebConfigurationManager.ConnectionStrings["connStr"].ConnectionString;
string s_CurrentPage = string.Empty;
string s_PageCount = string.Empty;
string s_RecordCount = string.Empty;
int i_CurrentPage = 0;
int i_PageCount = 0;
int i_RecordCount = 0;
剩余6页未读,继续阅读
资源评论
Z89999999
- 粉丝: 0
- 资源: 1
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功