master
editor 1 week ago
commit 6045cff9ba

@ -0,0 +1,46 @@
AJAX+ACCESS简单留言本
一、源码描述
环境VS2022 Access
二、功能介绍
1: vs2005 + ajax + Access 开发
2: 格式简洁,便于理解,修改
3引用Access 版 SqlHelper 便于向SqlServer 迁移,
4个人觉得亮点是取得留言页面重写Render方法结合应用的数据显示控件便于修改布局
5: 添加留言须输入验证码,可以点击自动更换
js 中还有很多可优化的地方;
下一个版本中再提供回复,删除等功能
代码列表页Book_List.aspx
程序运行入口http://localhost:13717/Book_List.aspx
三、注意事项
1、在项目web.config修改数据库连接字符串附加数据库。
2、ctrl+F5运行即可。
作者: Bonnibell
如需获得该源码的视频、更新等更多资料请访问: https://www.51aspx.com/Code/AjaxAccessGuestbook
------------------------------------------------------------------------------------------------
源码服务专家
官网: https://www.51aspx.com
讨论圈: https://club.51aspx.com/
平台声明:
1.51Aspx平台上提供下载的资源为免费、共享、商业三类源码,其中免费和共享源码仅供个人学习和研究使用,商业源码请在相应的授权许可条件下使用;
2.51Aspx平台对提供下载的软件及其它资源不拥有任何权利,其版权归属源码合法拥有者所有;
3.著作权人发现本网站载有侵害其合法权益的内容或作品,请与我们联系( 登录官网与客服反馈或发送邮件到support@51Aspx.com
4.51Aspx平台不保证提供的下载资源的准确性、安全性和完整性;
友情提示:
一般数据库文件默认在 DB_51Aspx 文件夹下
默认账号密码一般均为51Aspx
关于源码使用常见问题及解决方案,请参阅: https://www.51aspx.com/Help

@ -0,0 +1,15 @@
using System;
using System.Data;
using System.Data.OleDb;
//<2F><>Դ<EFBFBD><D4B4><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>www.51aspx.com(<28><><EFBFBD><EFBFBD>a<EFBFBD><61><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>)
/// <summary>
/// Written: [China] Zhao Zhe
/// Date: Sep. 2004
/// Version 1.0
/// Support MyBask<see cref="http://www.mybask.net"/>
/// Looking for the latest version or similar implentation of this function, please visit:<see cref="http://www.mybask.net"/>
///
/// Purpose:
/// To make connection to access easier.a Access version of SqlHelper.

@ -0,0 +1 @@
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Book_Add.aspx.cs" Inherits="Book_Add" %>

@ -0,0 +1,15 @@
///**************************
/// 创 建 者:Bonnibell
/// 创建日期:2008-11-20
/// 所属模块:留言板
/// 功  能:
/// 接受参数:
/// 含数据表:
///**********ap***
using System;
using System.Data;
using System.Data.OleDb;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;

@ -0,0 +1,15 @@
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Book_Get.aspx.cs" Inherits="Book_Get" %>
<!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>Untitled Page</title>
</head>
<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;">
<20><><EFBFBD>Գƺ<D4B3><C6BA><EFBFBD><%# Eval("F_Name")%>(<%# Eval("F_AddTime")%>)

@ -0,0 +1,15 @@
///**************************
/// 创 建 者:Bonnibell
/// 创建日期:2008-11-20
/// 所属模块:留言板
/// 功  能:
/// 接受参数:
/// 含数据表:
///**************************
using System;
using System.Data;
using System.Data.OleDb;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;

@ -0,0 +1,15 @@
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Book_List.aspx.cs" Inherits="Book_List" %>
<!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>
<style type="text/css">
body {
color: #ffffff;
margin-left: 0;
margin-top: 0;
margin-bottom: 0;
margin-right: 0;
background-color: #AB7D49;
text-align: left;

@ -0,0 +1,15 @@
using System;
using System.Data;
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;
public partial class Book_List : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{

@ -0,0 +1 @@
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="VerifyCode.aspx.cs" Inherits="VerifyCode" %>

@ -0,0 +1,15 @@
using System;
using System.Data;
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.Drawing;
public partial class VerifyCode : System.Web.UI.Page
{
protected void Page_Load(object sender, System.EventArgs e)
{

15
js/jquery-3.5.1.js vendored

@ -0,0 +1,15 @@
/*!
* jQuery JavaScript Library v3.5.1
* https://jquery.com/
*
* Includes Sizzle.js
* https://sizzlejs.com/
*
* Copyright JS Foundation and other contributors
* Released under the MIT license
* https://jquery.org/license
*
* Date: 2020-05-04T22:49Z
*/
( function( global, factory ) {
Loading…
Cancel
Save