From 9a598a693b564b9ec821e15b75b87d2a80266f35 Mon Sep 17 00:00:00 2001 From: editor <@51Aspx.com> Date: Mon, 1 Jul 2024 16:42:24 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=9D=E5=A7=8B=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 51Aspx源码必读.txt | 43 +++++++++++++++++++++++++++++++++++ App_Code/access.cs | 15 ++++++++++++ App_Code/login.cs | 15 ++++++++++++ App_Code/re.cs | 15 ++++++++++++ admin_m/add_news.aspx | 15 ++++++++++++ admin_m/add_news.aspx.cs | 15 ++++++++++++ admin_m/dxtb/editor.css | 15 ++++++++++++ admin_m/dxtb/editor.js | 15 ++++++++++++ admin_m/dxtb/help.html | 15 ++++++++++++ admin_m/dxtb/main.js | 15 ++++++++++++ admin_m/dxtb/nc_selcolor.htm | 15 ++++++++++++ admin_m/dxtb/pop.css | 10 ++++++++ admin_m/dxtb/replace.html | 15 ++++++++++++ admin_m/dxtb/rm.htm | 15 ++++++++++++ admin_m/dxtb/selcolor.html | 15 ++++++++++++ admin_m/dxtb/specialchar.html | 15 ++++++++++++ admin_m/dxtb/swf.htm | 15 ++++++++++++ admin_m/dxtb/table.html | 15 ++++++++++++ admin_m/dxtb/wmv.htm | 15 ++++++++++++ admin_m/login.aspx | 15 ++++++++++++ admin_m/login.aspx.cs | 15 ++++++++++++ admin_m/login_out.aspx | 15 ++++++++++++ admin_m/login_out.aspx.cs | 15 ++++++++++++ admin_m/main_manage.aspx | 15 ++++++++++++ admin_m/main_manage.aspx.cs | 15 ++++++++++++ admin_m/update_news.aspx | 15 ++++++++++++ admin_m/update_news.aspx.cs | 15 ++++++++++++ css.css | 6 +++++ news.aspx | 15 ++++++++++++ news.aspx.cs | 15 ++++++++++++ news_show.aspx | 15 ++++++++++++ news_show.aspx.cs | 15 ++++++++++++ query.aspx | 15 ++++++++++++ query.aspx.cs | 15 ++++++++++++ search.ascx | 15 ++++++++++++ search.ascx.cs | 15 ++++++++++++ top.ascx | 15 ++++++++++++ top.ascx.cs | 15 ++++++++++++ 38 files changed, 584 insertions(+) create mode 100644 51Aspx源码必读.txt create mode 100644 App_Code/access.cs create mode 100644 App_Code/login.cs create mode 100644 App_Code/re.cs create mode 100644 admin_m/add_news.aspx create mode 100644 admin_m/add_news.aspx.cs create mode 100644 admin_m/dxtb/editor.css create mode 100644 admin_m/dxtb/editor.js create mode 100644 admin_m/dxtb/help.html create mode 100644 admin_m/dxtb/main.js create mode 100644 admin_m/dxtb/nc_selcolor.htm create mode 100644 admin_m/dxtb/pop.css create mode 100644 admin_m/dxtb/replace.html create mode 100644 admin_m/dxtb/rm.htm create mode 100644 admin_m/dxtb/selcolor.html create mode 100644 admin_m/dxtb/specialchar.html create mode 100644 admin_m/dxtb/swf.htm create mode 100644 admin_m/dxtb/table.html create mode 100644 admin_m/dxtb/wmv.htm create mode 100644 admin_m/login.aspx create mode 100644 admin_m/login.aspx.cs create mode 100644 admin_m/login_out.aspx create mode 100644 admin_m/login_out.aspx.cs create mode 100644 admin_m/main_manage.aspx create mode 100644 admin_m/main_manage.aspx.cs create mode 100644 admin_m/update_news.aspx create mode 100644 admin_m/update_news.aspx.cs create mode 100644 css.css create mode 100644 news.aspx create mode 100644 news.aspx.cs create mode 100644 news_show.aspx create mode 100644 news_show.aspx.cs create mode 100644 query.aspx create mode 100644 query.aspx.cs create mode 100644 search.ascx create mode 100644 search.ascx.cs create mode 100644 top.ascx create mode 100644 top.ascx.cs diff --git a/51Aspx源码必读.txt b/51Aspx源码必读.txt new file mode 100644 index 0000000..749dbef --- /dev/null +++ b/51Aspx源码必读.txt @@ -0,0 +1,43 @@ +51ASPX简单入门新闻系统(ASP.NET2.0+ACCESS) + +一、源码描述 +环境:VS2022 Access + +二、功能介绍 +一个采用Asp.net2.0+Access(VS2022也可用)开发的简单新闻发布系统,适合新手操练用 +后台有新闻的管理功能,新闻的编辑采用了网页编辑器 + +/news.aspx为新闻首页 +/admin_m/login.aspx为后台管理登陆页,默认登陆帐号密码为51aspx + +51aspx特别提示:该系统采用了地址随机加密(如果不需要该功能,请在web.config中设置cookieless="false") + +三、注意事项 +1、在项目App_Code\access.cs修改数据库连接字符串。 +2、管理员账号与密码:51aspx 51aspx 。 +3、ctrl+F5运行即可。 + + + + + +作者: 随风 + +如需获得该源码的视频、更新等更多资料请访问: https://www.51aspx.com/Code/SimpleNews +------------------------------------------------------------------------------------------------ + + 源码服务专家 + 官网: 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 diff --git a/App_Code/access.cs b/App_Code/access.cs new file mode 100644 index 0000000..0826a8c --- /dev/null +++ b/App_Code/access.cs @@ -0,0 +1,15 @@ +using System; +using System.Data; +using System.Data.OleDb; +//using System.Data.SqlClient; +using System.Configuration; +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; + + +//该源码下载自www.51aspx.com(51aspx.com) +/// diff --git a/App_Code/login.cs b/App_Code/login.cs new file mode 100644 index 0000000..a58c9c3 --- /dev/null +++ b/App_Code/login.cs @@ -0,0 +1,15 @@ +using System; +using System.Data; +using System.Configuration; +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; +//该源码下载自www.51aspx.com(51aspx.com) + +/// +/// login 的摘要说明 +/// +public class login diff --git a/App_Code/re.cs b/App_Code/re.cs new file mode 100644 index 0000000..38b4695 --- /dev/null +++ b/App_Code/re.cs @@ -0,0 +1,15 @@ +using System; +using System.Data; +using System.Configuration; +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; + +/// +/// re 的摘要说明 +/// +public class re +{ diff --git a/admin_m/add_news.aspx b/admin_m/add_news.aspx new file mode 100644 index 0000000..f96f598 --- /dev/null +++ b/admin_m/add_news.aspx @@ -0,0 +1,15 @@ +<%@ Page Language="C#" AutoEventWireup="true" CodeFile="add_news.aspx.cs" Inherits="admin_m_add_news" ValidateRequest="false" %> + +<%@ Register Assembly="DXControls" Namespace="DXControls" TagPrefix="cc1" %> + + + + + 新闻发布系统--后台管理 + + diff --git a/admin_m/dxtb/swf.htm b/admin_m/dxtb/swf.htm new file mode 100644 index 0000000..0e97662 --- /dev/null +++ b/admin_m/dxtb/swf.htm @@ -0,0 +1,15 @@ +�๦�ܱ༭��--���� Flash ���� + + + + + diff --git a/admin_m/login.aspx b/admin_m/login.aspx new file mode 100644 index 0000000..7ab124b --- /dev/null +++ b/admin_m/login.aspx @@ -0,0 +1,15 @@ +<%@ Page Language="C#" AutoEventWireup="true" CodeFile="login.aspx.cs" Inherits="admin_m_login" %> + + + + + + 后台登陆 + + +
+
+ + + diff --git a/admin_m/login.aspx.cs b/admin_m/login.aspx.cs new file mode 100644 index 0000000..3981d94 --- /dev/null +++ b/admin_m/login.aspx.cs @@ -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 admin_m_login : System.Web.UI.Page +{ + protected void Page_Load(object sender, EventArgs e) + { diff --git a/admin_m/login_out.aspx b/admin_m/login_out.aspx new file mode 100644 index 0000000..623ec2e --- /dev/null +++ b/admin_m/login_out.aspx @@ -0,0 +1,15 @@ +<%@ Page Language="C#" AutoEventWireup="true" CodeFile="login_out.aspx.cs" Inherits="admin_m_login_out" %> + + + + + + 无标题页 + + + +
+ +
+ + diff --git a/admin_m/login_out.aspx.cs b/admin_m/login_out.aspx.cs new file mode 100644 index 0000000..137ff4b --- /dev/null +++ b/admin_m/login_out.aspx.cs @@ -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 admin_m_login_out : System.Web.UI.Page +{ + protected void Page_Load(object sender, EventArgs e) + { diff --git a/admin_m/main_manage.aspx b/admin_m/main_manage.aspx new file mode 100644 index 0000000..5517ab5 --- /dev/null +++ b/admin_m/main_manage.aspx @@ -0,0 +1,15 @@ +<%@ Page Language="C#" AutoEventWireup="true" CodeFile="main_manage.aspx.cs" Inherits="admin_m_main_manage" %> + + + + + + 新闻发布系统--后台管理 +
+ 用户名: