master
editor 1 month ago
commit c86d89c8b9

@ -0,0 +1,39 @@
包哥ASP.NET留言板源码
一、源码描述
环境VS2022 sql2019
二、功能介绍
一个简单实用的留言板程序,具有普通用户留言、管理员管理的基本功能
/showguestbook.aspx为留言列表页面login.htm为管理员登陆界面默认帐号密码均为51aspx
DB_51Aspx下面为Sql数据库文件附加即可
三、注意事项
1、在项目web.config修改数据库连接字符串附加数据库。
2、管理员账号与密码51aspx 51aspx 。
3、ctrl+F5运行即可。
作者: baoge
如需获得该源码的视频、更新等更多资料请访问: https://www.51aspx.com/Code/BaogeLYB
------------------------------------------------------------------------------------------------
源码服务专家
官网: 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.Reflection;
using System.Runtime.CompilerServices;
//
// <20>йس<D0B9><D8B3>򼯵ij<F2BCAFB5><C4B3><EFBFBD><EFBFBD><EFBFBD>Ϣ<EFBFBD><CFA2>ͨ<EFBFBD><CDA8><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
// <20><><EFBFBD>Լ<EFBFBD><D4BC><EFBFBD><EFBFBD>Ƶġ<C6B5><C4A1><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Щ<EFBFBD><D0A9><EFBFBD><EFBFBD>ֵ<EFBFBD><D6B5><EFBFBD>޸<EFBFBD><DEB8><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
// <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ϣ<EFBFBD><CFA2>
//
[assembly: AssemblyTitle("")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("")]
[assembly: AssemblyCopyright("")]
[assembly: AssemblyTrademark("")]

@ -0,0 +1,39 @@
包哥ASP.NET留言板源码
一、源码描述
环境VS2022 sql2019
二、功能介绍
一个简单实用的留言板程序,具有普通用户留言、管理员管理的基本功能
/showguestbook.aspx为留言列表页面login.htm为管理员登陆界面默认帐号密码均为51aspx
DB_51Aspx下面为Sql数据库文件附加即可
三、注意事项
1、在项目web.config修改数据库连接字符串附加数据库。
2、管理员账号与密码51aspx 51aspx 。
3、ctrl+F5运行即可。
作者: baoge
如需获得该源码的视频、更新等更多资料请访问: https://www.51aspx.com/Code/BaogeLYB
------------------------------------------------------------------------------------------------
源码服务专家
官网: 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.Reflection;
using System.Runtime.CompilerServices;
//
// <20>йس<D0B9><D8B3>򼯵ij<F2BCAFB5><C4B3><EFBFBD><EFBFBD><EFBFBD>Ϣ<EFBFBD><CFA2>ͨ<EFBFBD><CDA8><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
// <20><><EFBFBD>Լ<EFBFBD><D4BC><EFBFBD><EFBFBD>Ƶġ<C6B5><C4A1><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Щ<EFBFBD><D0A9><EFBFBD><EFBFBD>ֵ<EFBFBD><D6B5><EFBFBD>޸<EFBFBD><DEB8><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
// <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ϣ<EFBFBD><CFA2>
//
[assembly: AssemblyTitle("")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("")]
[assembly: AssemblyCopyright("")]
[assembly: AssemblyTrademark("")]

@ -0,0 +1,15 @@
body
{
}
td{font-size:12px;}
.inputbg {border:0px; border-bottom:1px solid #8AA6E5;}
A:link{color:#000000;text-decoration:none;}
A:visited{color:#000000;text-decoration:none;}
A:hover{color:red;text-decoration:none;}
A.Na:link{color:#ffffff;text-decoration:none;}
A.Na:visited{color:#ffffff;text-decoration:none;}
A.Na:hover{color:red;text-decoration:none;}

@ -0,0 +1,15 @@
USE [master]
GO
/****** Object: Database [lyb] Script Date: 05/27/2024 12:41:14 ******/
CREATE DATABASE [lyb] ON PRIMARY
( NAME = N'lyb_Data', FILENAME = N'D:\data\lyb_Data.MDF' , SIZE = 1792KB , MAXSIZE = UNLIMITED, FILEGROWTH = 10%)
LOG ON
( NAME = N'lyb_Log', FILENAME = N'D:\data\lyb_Log.LDF' , SIZE = 3456KB , MAXSIZE = UNLIMITED, FILEGROWTH = 10%)
GO
ALTER DATABASE [lyb] SET COMPATIBILITY_LEVEL = 80
GO
IF (1 = FULLTEXTSERVICEPROPERTY('IsFullTextInstalled'))
begin
EXEC [lyb].[dbo].[sp_fulltext_database] @action = 'disable'
end
GO

@ -0,0 +1 @@
<%@ Application Codebehind="Global.asax.cs" Inherits="baogelyb.Global" %>

@ -0,0 +1,15 @@
using System;
using System.Collections;
using System.ComponentModel;
using System.Web;
using System.Web.SessionState;
namespace baogelyb
{
/// <summary>
/// Global <20><>ժҪ˵<D2AA><CBB5><EFBFBD><EFBFBD>
/// </summary>
public class Global : System.Web.HttpApplication
{
/// <summary>
/// <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>

@ -0,0 +1,15 @@
<?xml version="1.0" encoding="utf-8" ?>
<root>
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />

@ -0,0 +1,15 @@
<!DOCTYPE html>
<!-- saved from url=(0014)about:internet -->
<html xmlns:msxsl="urn:schemas-microsoft-com:xslt"><head><meta content="en-us" http-equiv="Content-Language" /><meta content="text/html; charset=utf-16" http-equiv="Content-Type" /><title _locID="ConversionReport0">
Migration Report
</title><style>
/* Body style, for the entire document */
body
{
background: #F3F3F4;
color: #1E1E1F;
font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
padding: 0;
margin: 0;
}

@ -0,0 +1,15 @@
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<appSettings>
<add key="lyb" value="Data Source=.;UID=sa;PWD=sa;initial catalog=lyb;Connect Timeout=90"/>
</appSettings>
<system.web>
<!-- 动态调试编译
设置 compilation debug="true" 以启用 ASPX 调试。否则,将此值设置为
false 将提高此应用程序的运行时性能。
设置 compilation debug="true" 以将调试符号(.pdb 信息)
插入到编译页中。因为这将创建执行起来
较慢的大文件,所以应该只在调试时将此值设置为 true而在所有其他时候都设置为
false。有关更多信息请参考有关

@ -0,0 +1,15 @@
<%@ Page language="c#" Codebehind="admin_index.aspx.cs" AutoEventWireup="false" Inherits="baogelyb.admin_index" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
<HEAD>
<title>admin_index</title>
<meta name="GENERATOR" Content="Microsoft Visual Studio .NET 7.1">
<meta name="CODE_LANGUAGE" Content="C#">
<meta name="vs_defaultClientScript" content="JavaScript">
<meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5">
</HEAD>
<body MS_POSITIONING="GridLayout">
<form id="Form1" method="post" runat="server">
<FONT face="<22><><EFBFBD><EFBFBD>">
<asp:Button id="Button1" style="Z-INDEX: 101; LEFT: 120px; POSITION: absolute; TOP: 96px" runat="server"
Text="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"></asp:Button>

@ -0,0 +1,15 @@
using System;
using System.Collections;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Web;
using System.Web.SessionState;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.HtmlControls;
namespace baogelyb
{
/// <summary>
/// admin_index <20><>ժҪ˵<D2AA><CBB5><EFBFBD><EFBFBD>

@ -0,0 +1,15 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 1.3
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...

@ -0,0 +1,15 @@
<VisualStudioProject>
<CSHARP
ProjectType = "Web"
ProductVersion = "7.10.3077"
SchemaVersion = "2.0"
ProjectGuid = "{1EAE51E3-5C97-4155-98E6-4EC8CB52F9C6}"
>
<Build>
<Settings
ApplicationIcon = ""
AssemblyKeyContainerName = ""
AssemblyName = "baogelyb"
AssemblyOriginatorKeyFile = ""
DefaultClientScript = "JScript"
DefaultHTMLPageLayout = "Grid"

@ -0,0 +1,15 @@
using System;
using System.Data.SqlClient;
using System.Configuration;
namespace baogelyb
{
//<2F><>Դ<EFBFBD><D4B4><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>www.51aspx.com(<28><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>)
/// <summary>
/// db <20><>ժҪ˵<D2AA><CBB5><EFBFBD><EFBFBD>
/// </summary>
public class db
{
public db()
{
//

@ -0,0 +1,12 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title></title>
<meta name="GENERATOR" content="Microsoft Visual Studio .NET 7.1">
<meta name="ProgId" content="VisualStudio.HTML">
<meta name="Originator" content="Microsoft Visual Studio .NET 7.1">
</head>
<body>
<P><FONT face="<22><><EFBFBD><EFBFBD>" color=#339966><EFBFBD>û<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><a href="login.htm"><EFBFBD><EFBFBD><EFBFBD><EFBFBD></a><EFBFBD><EFBFBD>д<EFBFBD><EFBFBD></FONT></P>
</body>
</html>

@ -0,0 +1,15 @@
<%@ Page language="c#" Codebehind="guestbook.aspx.cs" AutoEventWireup="false" Inherits="baogelyb.guestbook" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
<HEAD>
<title>guestbook</title>
<meta name="GENERATOR" Content="Microsoft Visual Studio .NET 7.1">
<meta name="CODE_LANGUAGE" Content="C#">
<meta name="vs_defaultClientScript" content="JavaScript">
<meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5">
<LINK href="sing_files/format.css" type="text/css" rel="stylesheet">
<LINK href="sing_files/main.css" type="text/css" rel="stylesheet">
<STYLE type="text/css">.style3 { COLOR: #008040 }
.style4 { FONT-WEIGHT: bold; FONT-SIZE: 14px }
</STYLE>
</HEAD>

@ -0,0 +1,15 @@
using System;
using System.Collections;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Web;
using System.Web.SessionState;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.HtmlControls;
using System.Data.SqlClient;
using System.Configuration;
using System.IO;
namespace baogelyb
{

@ -0,0 +1,15 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 1.3
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...

@ -0,0 +1,15 @@
<%@ Page language="c#" Codebehind="guestbook_del.aspx.cs" AutoEventWireup="false" Inherits="baogelyb.guestbook_del" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
<HEAD>
<title>guestbook_del</title>
<meta name="GENERATOR" Content="Microsoft Visual Studio .NET 7.1">
<meta name="CODE_LANGUAGE" Content="C#">
<meta name="vs_defaultClientScript" content="JavaScript">
<meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5">
</HEAD>
<body MS_POSITIONING="GridLayout">
<form id="Form1" method="post" runat="server">
<FONT face="<22><><EFBFBD><EFBFBD>"></FONT>
</form>
</body>

@ -0,0 +1,15 @@
using System;
using System.Collections;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Web;
using System.Web.SessionState;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.HtmlControls;
using System.Data.SqlClient;
using System.Configuration;
namespace baogelyb
{
/// <summary>

@ -0,0 +1,15 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 1.3
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...

@ -0,0 +1,15 @@
<%@ Page language="c#" Codebehind="guestbook_list.aspx.cs" AutoEventWireup="false" Inherits="baogelyb.guestbook_list" %>
<%@ Register TagPrefix="webdiyer" Namespace="Wuqi.Webdiyer" Assembly="AspNetPager" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
<HEAD>
<title>guestbook_list</title>
<meta name="GENERATOR" Content="Microsoft Visual Studio .NET 7.1">
<meta name="CODE_LANGUAGE" Content="C#">
<meta name="vs_defaultClientScript" content="JavaScript">
<meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5">
<LINK href="CSS.css" type="text/css" rel="stylesheet">
</HEAD>
<body MS_POSITIONING="GridLayout">
<form id="Form1" method="post" runat="server">
<FONT face="<22><><EFBFBD><EFBFBD>">

@ -0,0 +1,15 @@
using System;
using System.Collections;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Web;
using System.Web.SessionState;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.HtmlControls;
using System.Data.SqlClient;
using System.Text;
using System.IO;
using System.Configuration;
namespace baogelyb

@ -0,0 +1,15 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 1.3
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...

@ -0,0 +1,15 @@
<%@ Page language="c#" Codebehind="guestbook_main.aspx.cs" AutoEventWireup="false" Inherits="baogelyb.guestbook_main" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
<HEAD>
<title>guestbook_main</title>
<meta name="GENERATOR" Content="Microsoft Visual Studio .NET 7.1">
<meta name="CODE_LANGUAGE" Content="C#">
<meta name="vs_defaultClientScript" content="JavaScript">
<meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5">
<LINK href="CSS.css" type="text/css" rel="stylesheet">
</HEAD>
<body MS_POSITIONING="GridLayout">
<form id="Form1" method="post" runat="server">
<FONT face="<22><><EFBFBD><EFBFBD>">
<TABLE id="Table1" style="Z-INDEX: 111; LEFT: 48px; POSITION: absolute; TOP: 8px; HEIGHT: 382px"

@ -0,0 +1,15 @@
using System;
using System.Collections;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Web;
using System.Web.SessionState;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.HtmlControls;
using System.Data.SqlClient;
using System.Configuration;
namespace baogelyb
{
/// <summary>

@ -0,0 +1,15 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 1.3
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...

@ -0,0 +1,15 @@
<%@ Page language="c#" Codebehind="login.aspx.cs" AutoEventWireup="false" Inherits="baogelyb.login" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
<HEAD>
<title>login</title>
<meta name="GENERATOR" Content="Microsoft Visual Studio .NET 7.1">
<meta name="CODE_LANGUAGE" Content="C#">
<meta name="vs_defaultClientScript" content="JavaScript">
<meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5">
</HEAD>
<body MS_POSITIONING="GridLayout">
<form id="Form1" method="post" runat="server">
<FONT face="<22><><EFBFBD><EFBFBD>"></FONT>
</form>
</body>

@ -0,0 +1,15 @@
using System;
using System.Collections;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Web;
using System.Web.SessionState;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.HtmlControls;
using System.Data.SqlClient;
using System.Configuration;
namespace baogelyb
{
//<2F><>Դ<EFBFBD><D4B4><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>www.51aspx.com(<28><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>)

@ -0,0 +1,15 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 1.3
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...

@ -0,0 +1,15 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title></title>
<meta name="GENERATOR" content="Microsoft Visual Studio .NET 7.1">
<meta name="ProgId" content="VisualStudio.HTML">
<meta name="Originator" content="Microsoft Visual Studio .NET 7.1">
<script language=javascript>
function login()
{
if(baoge.username.value=="")
{
alert("<22>û<EFBFBD><C3BB><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ϊ<EFBFBD><CEAA>!")
baoge.username.focus();
}

@ -0,0 +1,15 @@
<%@ Page language="c#" Codebehind="pwd.aspx.cs" AutoEventWireup="false" Inherits="baogelyb.pwd" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
<HEAD>
<title>pwd</title>
<meta name="GENERATOR" Content="Microsoft Visual Studio .NET 7.1">
<meta name="CODE_LANGUAGE" Content="C#">
<meta name="vs_defaultClientScript" content="JavaScript">
<meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5">
</HEAD>
<body MS_POSITIONING="GridLayout" bgColor="#99ccff">
<form id="Form1" method="post" runat="server">
<TABLE id="Table1" style="Z-INDEX: 101; LEFT: 80px; WIDTH: 520px; POSITION: absolute; TOP: 56px; HEIGHT: 224px"
cellSpacing="1" cellPadding="1" width="520" border="10" bgColor="#6699cc">
<TR>

@ -0,0 +1,15 @@
using System;
using System.Collections;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Web;
using System.Web.SessionState;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.HtmlControls;
using System.Data.SqlClient;
using System.Configuration;
namespace baogelyb
{
/// <summary>

@ -0,0 +1,15 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 1.3
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...

@ -0,0 +1,39 @@
包哥ASP.NET留言板源码
一、源码描述
环境VS2022 sql2019
二、功能介绍
一个简单实用的留言板程序,具有普通用户留言、管理员管理的基本功能
/showguestbook.aspx为留言列表页面login.htm为管理员登陆界面默认帐号密码均为51aspx
DB_51Aspx下面为Sql数据库文件附加即可
三、注意事项
1、在项目web.config修改数据库连接字符串附加数据库。
2、管理员账号与密码51aspx 51aspx 。
3、ctrl+F5运行即可。
作者: baoge
如需获得该源码的视频、更新等更多资料请访问: https://www.51aspx.com/Code/BaogeLYB
------------------------------------------------------------------------------------------------
源码服务专家
官网: 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 @@
.normal {
FONT-SIZE: 12px; COLOR: #0066cc; FONT-FAMILY: "<22><><EFBFBD><EFBFBD>"
}
A.bluelink:link {
COLOR: #0066cc; TEXT-DECORATION: none
}
A.bluelink:visited {
COLOR: #0066cc; TEXT-DECORATION: none
}
A.bluelink:hover {
COLOR: #008000; TEXT-DECORATION: none
}
.normal24 {
FONT-SIZE: 12px; COLOR: #0066cc; LINE-HEIGHT: 24px; FONT-FAMILY: "<22><><EFBFBD><EFBFBD>"
}

@ -0,0 +1,15 @@
BODY {
FONT-SIZE: 9pt; LINE-HEIGHT: 14pt
}
TD {
FONT-SIZE: 12px; LINE-HEIGHT: 14pt
}
P {
FONT-SIZE: 12px
}
LI {
FONT-SIZE: 12px
}
INPUT {
FONT-SIZE: 12px
}

@ -0,0 +1,15 @@
<%@ Page language="c#" Codebehind="showguestbook.aspx.cs" AutoEventWireup="false" Inherits="baogelyb.showguestbook" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
<HEAD>
<title>showguestbook</title>
<meta content="Microsoft Visual Studio .NET 7.1" name="GENERATOR">
<meta content="C#" name="CODE_LANGUAGE">
<meta content="JavaScript" name="vs_defaultClientScript">
<meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
<LINK href="show_files/format.css" type="text/css" rel="stylesheet">
<LINK href="show_files/main.css" type="text/css" rel="stylesheet">
<STYLE type="text/css">A:visited { FONT-SIZE: 9pt; COLOR: #0033cc }
A:link { FONT-SIZE: 9pt; COLOR: #0033cc }
A:hover { FONT-SIZE: 9pt; COLOR: #ff0000 }
.style1 { COLOR: #008040 }

@ -0,0 +1,15 @@
using System;
using System.Collections;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Web;
using System.Web.SessionState;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.HtmlControls;
using System.Data.SqlClient;
using System.Configuration;
namespace baogelyb
{
/// <summary>

@ -0,0 +1,15 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 1.3
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...

@ -0,0 +1,15 @@
.normal {
FONT-SIZE: 12px; COLOR: #0066cc; FONT-FAMILY: "<22><><EFBFBD><EFBFBD>"
}
A.bluelink:link {
COLOR: #0066cc; TEXT-DECORATION: none
}
A.bluelink:visited {
COLOR: #0066cc; TEXT-DECORATION: none
}
A.bluelink:hover {
COLOR: #008000; TEXT-DECORATION: none
}
.normal24 {
FONT-SIZE: 12px; COLOR: #0066cc; LINE-HEIGHT: 24px; FONT-FAMILY: "<22><><EFBFBD><EFBFBD>"
}

@ -0,0 +1,15 @@
BODY {
FONT-SIZE: 9pt; LINE-HEIGHT: 14pt
}
TD {
FONT-SIZE: 12px; LINE-HEIGHT: 14pt
}
P {
FONT-SIZE: 12px
}
LI {
FONT-SIZE: 12px
}
INPUT {
FONT-SIZE: 12px
}

@ -0,0 +1,15 @@
body
{
}
td{font-size:12px;}
.inputbg {border:0px; border-bottom:1px solid #8AA6E5;}
A:link{color:#000000;text-decoration:none;}
A:visited{color:#000000;text-decoration:none;}
A:hover{color:red;text-decoration:none;}
A.Na:link{color:#ffffff;text-decoration:none;}
A.Na:visited{color:#ffffff;text-decoration:none;}
A.Na:hover{color:red;text-decoration:none;}

@ -0,0 +1 @@
<%@ Application Codebehind="Global.asax.cs" Inherits="baogelyb.Global" %>

@ -0,0 +1,15 @@
using System;
using System.Collections;
using System.ComponentModel;
using System.Web;
using System.Web.SessionState;
namespace baogelyb
{
/// <summary>
/// Global <20><>ժҪ˵<D2AA><CBB5><EFBFBD><EFBFBD>
/// </summary>
public class Global : System.Web.HttpApplication
{
/// <summary>
/// <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>

@ -0,0 +1,15 @@
<?xml version="1.0" encoding="utf-8" ?>
<root>
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />

@ -0,0 +1,15 @@
<?xml version="1.0"?>
<configuration>
<appSettings>
<add key="lyb" value="Data Source=.;UID=sa;PWD=51Aspx;initial catalog=lyb;Connect Timeout=90"/>
</appSettings>
<!--
For a description of web.config changes see http://go.microsoft.com/fwlink/?LinkId=235367.
The following attributes can be set on the <httpRuntime> tag.
<system.Web>
<httpRuntime targetFramework="4.8" />
</system.Web>
-->
<system.web>
<!-- 动态调试编译

@ -0,0 +1,15 @@
<%@ Page language="c#" Codebehind="admin_index.aspx.cs" AutoEventWireup="false" Inherits="baogelyb.admin_index" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
<HEAD>
<title>admin_index</title>
<meta name="GENERATOR" Content="Microsoft Visual Studio .NET 7.1">
<meta name="CODE_LANGUAGE" Content="C#">
<meta name="vs_defaultClientScript" content="JavaScript">
<meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5">
</HEAD>
<body MS_POSITIONING="GridLayout">
<form id="Form1" method="post" runat="server">
<FONT face="<22><><EFBFBD><EFBFBD>">
<asp:Button id="Button1" style="Z-INDEX: 101; LEFT: 120px; POSITION: absolute; TOP: 96px" runat="server"
Text="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"></asp:Button>

@ -0,0 +1,15 @@
using System;
using System.Collections;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Web;
using System.Web.SessionState;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.HtmlControls;
namespace baogelyb
{
/// <summary>
/// admin_index <20><>ժҪ˵<D2AA><CBB5><EFBFBD><EFBFBD>

@ -0,0 +1,15 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 1.3
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...

@ -0,0 +1,15 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" DefaultTargets="Build">
<PropertyGroup>
<ProductVersion>7.10.3077</ProductVersion>
<SchemaVersion>2.0</SchemaVersion>
<ProjectGuid>{1EAE51E3-5C97-4155-98E6-4EC8CB52F9C6}</ProjectGuid>
<ProjectTypeGuids>{349c5851-65df-11da-9384-00065b846f21};{fae04ec0-301f-11d3-bf4b-00c04f79efbc}</ProjectTypeGuids>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ApplicationIcon />
<AssemblyKeyContainerName />
<AssemblyName>baogelyb</AssemblyName>
<AssemblyOriginatorKeyFile />
<DefaultClientScript>JScript</DefaultClientScript>
<DefaultHTMLPageLayout>Grid</DefaultHTMLPageLayout>

15
db.cs

@ -0,0 +1,15 @@
using System;
using System.Data.SqlClient;
using System.Configuration;
namespace baogelyb
{
//<2F><>Դ<EFBFBD><D4B4><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>www.51aspx.com(<28><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>)
/// <summary>
/// db <20><>ժҪ˵<D2AA><CBB5><EFBFBD><EFBFBD>
/// </summary>
public class db
{
public db()
{
//

@ -0,0 +1,12 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title></title>
<meta name="GENERATOR" content="Microsoft Visual Studio .NET 7.1">
<meta name="ProgId" content="VisualStudio.HTML">
<meta name="Originator" content="Microsoft Visual Studio .NET 7.1">
</head>
<body>
<P><FONT face="<22><><EFBFBD><EFBFBD>" color=#339966><EFBFBD>û<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><a href="login.htm"><EFBFBD><EFBFBD><EFBFBD><EFBFBD></a><EFBFBD><EFBFBD>д<EFBFBD><EFBFBD></FONT></P>
</body>
</html>

@ -0,0 +1,15 @@
<%@ Page language="c#" Codebehind="guestbook.aspx.cs" AutoEventWireup="false" Inherits="baogelyb.guestbook" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
<HEAD>
<title>guestbook</title>
<meta name="GENERATOR" Content="Microsoft Visual Studio .NET 7.1">
<meta name="CODE_LANGUAGE" Content="C#">
<meta name="vs_defaultClientScript" content="JavaScript">
<meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5">
<LINK href="sing_files/format.css" type="text/css" rel="stylesheet">
<LINK href="sing_files/main.css" type="text/css" rel="stylesheet">
<STYLE type="text/css">.style3 { COLOR: #008040 }
.style4 { FONT-WEIGHT: bold; FONT-SIZE: 14px }
</STYLE>
</HEAD>

@ -0,0 +1,15 @@
using System;
using System.Collections;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Web;
using System.Web.SessionState;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.HtmlControls;
using System.Data.SqlClient;
using System.Configuration;
using System.IO;
namespace baogelyb
{

@ -0,0 +1,15 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 1.3
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...

@ -0,0 +1,15 @@
<%@ Page language="c#" Codebehind="guestbook_del.aspx.cs" AutoEventWireup="false" Inherits="baogelyb.guestbook_del" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
<HEAD>
<title>guestbook_del</title>
<meta name="GENERATOR" Content="Microsoft Visual Studio .NET 7.1">
<meta name="CODE_LANGUAGE" Content="C#">
<meta name="vs_defaultClientScript" content="JavaScript">
<meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5">
</HEAD>
<body MS_POSITIONING="GridLayout">
<form id="Form1" method="post" runat="server">
<FONT face="<22><><EFBFBD><EFBFBD>"></FONT>
</form>
</body>

@ -0,0 +1,15 @@
using System;
using System.Collections;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Web;
using System.Web.SessionState;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.HtmlControls;
using System.Data.SqlClient;
using System.Configuration;
namespace baogelyb
{
/// <summary>

@ -0,0 +1,15 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 1.3
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...

@ -0,0 +1,15 @@
<%@ Page language="c#" Codebehind="guestbook_list.aspx.cs" AutoEventWireup="false" Inherits="baogelyb.guestbook_list" %>
<%@ Register TagPrefix="webdiyer" Namespace="Wuqi.Webdiyer" Assembly="AspNetPager" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
<HEAD>
<title>guestbook_list</title>
<meta name="GENERATOR" Content="Microsoft Visual Studio .NET 7.1">
<meta name="CODE_LANGUAGE" Content="C#">
<meta name="vs_defaultClientScript" content="JavaScript">
<meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5">
<LINK href="CSS.css" type="text/css" rel="stylesheet">
</HEAD>
<body MS_POSITIONING="GridLayout">
<form id="Form1" method="post" runat="server">
<FONT face="<22><><EFBFBD><EFBFBD>">

@ -0,0 +1,15 @@
using System;
using System.Collections;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Web;
using System.Web.SessionState;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.HtmlControls;
using System.Data.SqlClient;
using System.Text;
using System.IO;
using System.Configuration;
namespace baogelyb

@ -0,0 +1,15 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 1.3
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...

@ -0,0 +1,15 @@
<%@ Page language="c#" Codebehind="guestbook_main.aspx.cs" AutoEventWireup="false" Inherits="baogelyb.guestbook_main" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
<HEAD>
<title>guestbook_main</title>
<meta name="GENERATOR" Content="Microsoft Visual Studio .NET 7.1">
<meta name="CODE_LANGUAGE" Content="C#">
<meta name="vs_defaultClientScript" content="JavaScript">
<meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5">
<LINK href="CSS.css" type="text/css" rel="stylesheet">
</HEAD>
<body MS_POSITIONING="GridLayout">
<form id="Form1" method="post" runat="server">
<FONT face="<22><><EFBFBD><EFBFBD>">
<TABLE id="Table1" style="Z-INDEX: 111; LEFT: 48px; POSITION: absolute; TOP: 8px; HEIGHT: 382px"

@ -0,0 +1,15 @@
using System;
using System.Collections;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Web;
using System.Web.SessionState;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.HtmlControls;
using System.Data.SqlClient;
using System.Configuration;
namespace baogelyb
{
/// <summary>

@ -0,0 +1,15 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 1.3
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...

@ -0,0 +1,15 @@
<%@ Page language="c#" Codebehind="login.aspx.cs" AutoEventWireup="false" Inherits="baogelyb.login" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
<HEAD>
<title>login</title>
<meta name="GENERATOR" Content="Microsoft Visual Studio .NET 7.1">
<meta name="CODE_LANGUAGE" Content="C#">
<meta name="vs_defaultClientScript" content="JavaScript">
<meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5">
</HEAD>
<body MS_POSITIONING="GridLayout">
<form id="Form1" method="post" runat="server">
<FONT face="<22><><EFBFBD><EFBFBD>"></FONT>
</form>
</body>

@ -0,0 +1,15 @@
using System;
using System.Collections;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Web;
using System.Web.SessionState;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.HtmlControls;
using System.Data.SqlClient;
using System.Configuration;
namespace baogelyb
{
//<2F><>Դ<EFBFBD><D4B4><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>www.51aspx.com(<28><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>)

@ -0,0 +1,15 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 1.3
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...

@ -0,0 +1,15 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title></title>
<meta name="GENERATOR" content="Microsoft Visual Studio .NET 7.1">
<meta name="ProgId" content="VisualStudio.HTML">
<meta name="Originator" content="Microsoft Visual Studio .NET 7.1">
<script language=javascript>
function login()
{
if(baoge.username.value=="")
{
alert("<22>û<EFBFBD><C3BB><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ϊ<EFBFBD><CEAA>!")
baoge.username.focus();
}

@ -0,0 +1,15 @@
<%@ Page language="c#" Codebehind="pwd.aspx.cs" AutoEventWireup="false" Inherits="baogelyb.pwd" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
<HEAD>
<title>pwd</title>
<meta name="GENERATOR" Content="Microsoft Visual Studio .NET 7.1">
<meta name="CODE_LANGUAGE" Content="C#">
<meta name="vs_defaultClientScript" content="JavaScript">
<meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5">
</HEAD>
<body MS_POSITIONING="GridLayout" bgColor="#99ccff">
<form id="Form1" method="post" runat="server">
<TABLE id="Table1" style="Z-INDEX: 101; LEFT: 80px; WIDTH: 520px; POSITION: absolute; TOP: 56px; HEIGHT: 224px"
cellSpacing="1" cellPadding="1" width="520" border="10" bgColor="#6699cc">
<TR>

@ -0,0 +1,15 @@
using System;
using System.Collections;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Web;
using System.Web.SessionState;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.HtmlControls;
using System.Data.SqlClient;
using System.Configuration;
namespace baogelyb
{
/// <summary>

@ -0,0 +1,15 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 1.3
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...

@ -0,0 +1,39 @@
包哥ASP.NET留言板源码
一、源码描述
环境VS2022 sql2019
二、功能介绍
一个简单实用的留言板程序,具有普通用户留言、管理员管理的基本功能
/showguestbook.aspx为留言列表页面login.htm为管理员登陆界面默认帐号密码均为51aspx
DB_51Aspx下面为Sql数据库文件附加即可
三、注意事项
1、在项目web.config修改数据库连接字符串附加数据库。
2、管理员账号与密码51aspx 51aspx 。
3、ctrl+F5运行即可。
作者: baoge
如需获得该源码的视频、更新等更多资料请访问: https://www.51aspx.com/Code/BaogeLYB
------------------------------------------------------------------------------------------------
源码服务专家
官网: 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 @@
.normal {
FONT-SIZE: 12px; COLOR: #0066cc; FONT-FAMILY: "<22><><EFBFBD><EFBFBD>"
}
A.bluelink:link {
COLOR: #0066cc; TEXT-DECORATION: none
}
A.bluelink:visited {
COLOR: #0066cc; TEXT-DECORATION: none
}
A.bluelink:hover {
COLOR: #008000; TEXT-DECORATION: none
}
.normal24 {
FONT-SIZE: 12px; COLOR: #0066cc; LINE-HEIGHT: 24px; FONT-FAMILY: "<22><><EFBFBD><EFBFBD>"
}

@ -0,0 +1,15 @@
BODY {
FONT-SIZE: 9pt; LINE-HEIGHT: 14pt
}
TD {
FONT-SIZE: 12px; LINE-HEIGHT: 14pt
}
P {
FONT-SIZE: 12px
}
LI {
FONT-SIZE: 12px
}
INPUT {
FONT-SIZE: 12px
}

@ -0,0 +1,15 @@
<%@ Page language="c#" Codebehind="showguestbook.aspx.cs" AutoEventWireup="false" Inherits="baogelyb.showguestbook" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
<HEAD>
<title>showguestbook</title>
<meta content="Microsoft Visual Studio .NET 7.1" name="GENERATOR">
<meta content="C#" name="CODE_LANGUAGE">
<meta content="JavaScript" name="vs_defaultClientScript">
<meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
<LINK href="show_files/format.css" type="text/css" rel="stylesheet">
<LINK href="show_files/main.css" type="text/css" rel="stylesheet">
<STYLE type="text/css">A:visited { FONT-SIZE: 9pt; COLOR: #0033cc }
A:link { FONT-SIZE: 9pt; COLOR: #0033cc }
A:hover { FONT-SIZE: 9pt; COLOR: #ff0000 }
.style1 { COLOR: #008040 }

@ -0,0 +1,15 @@
using System;
using System.Collections;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Web;
using System.Web.SessionState;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.HtmlControls;
using System.Data.SqlClient;
using System.Configuration;
namespace baogelyb
{
/// <summary>

@ -0,0 +1,15 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 1.3
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...

@ -0,0 +1,15 @@
.normal {
FONT-SIZE: 12px; COLOR: #0066cc; FONT-FAMILY: "<22><><EFBFBD><EFBFBD>"
}
A.bluelink:link {
COLOR: #0066cc; TEXT-DECORATION: none
}
A.bluelink:visited {
COLOR: #0066cc; TEXT-DECORATION: none
}
A.bluelink:hover {
COLOR: #008000; TEXT-DECORATION: none
}
.normal24 {
FONT-SIZE: 12px; COLOR: #0066cc; LINE-HEIGHT: 24px; FONT-FAMILY: "<22><><EFBFBD><EFBFBD>"
}

@ -0,0 +1,15 @@
BODY {
FONT-SIZE: 9pt; LINE-HEIGHT: 14pt
}
TD {
FONT-SIZE: 12px; LINE-HEIGHT: 14pt
}
P {
FONT-SIZE: 12px
}
LI {
FONT-SIZE: 12px
}
INPUT {
FONT-SIZE: 12px
}
Loading…
Cancel
Save