commit 44ed00417db3b2a67233087562415b7e3b6d6392 Author: editor <@51Aspx.com> Date: Thu Jun 27 18:00:40 2024 +0800 初始化 diff --git a/51Aspx源码必读.txt b/51Aspx源码必读.txt new file mode 100644 index 0000000..3f49a0d --- /dev/null +++ b/51Aspx源码必读.txt @@ -0,0 +1,46 @@ +银行模拟登陆系统源码 + +一、源码描述 +环境:VS2022 sql2019 + +二、功能介绍 +一个模拟银行在线交易的简单系统,可以实现转帐、简单、存款、取款等相关业务,有用户注册模块。 + +1.在该系统同我都是用Response.Redirect("传到.aspx?Account="+account); +而且是用account=Request.QueryString["Account"];接收变量的。 +其中在在部分页面除index.aspx中,都将account设为public string account;。 +2.其实也可以用Session["name"]=this.txtAccount.text; +(在index.aspx页面中)在一登录的时候就用session变量记住account的值 + +sql数据库连接信息在DB.cs文件中 +默认登陆帐号密码均为51aspx + +三、注意事项 +1、在项目DB.cs修改数据库连接字符串,附加数据库。 +2、管理员账号与密码:51aspx 51aspx 。 +3、ctrl+F5运行即可。 + + + + + +作者: 张武生 + +如需获得该源码的视频、更新等更多资料请访问: https://www.51aspx.com/Code/SimulationBankLogin +------------------------------------------------------------------------------------------------ + + 源码服务专家 + 官网: 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/AssemblyInfo.cs b/AssemblyInfo.cs new file mode 100644 index 0000000..b104422 --- /dev/null +++ b/AssemblyInfo.cs @@ -0,0 +1,15 @@ +using System.Reflection; +using System.Runtime.CompilerServices; + +// +// �йس��򼯵ij�����Ϣ��ͨ������ +// ���Լ����Ƶġ�������Щ����ֵ���޸������ +// ��������Ϣ�� +// +[assembly: AssemblyTitle("")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("")] +[assembly: AssemblyCopyright("")] +[assembly: AssemblyTrademark("")] diff --git a/Backup/AssemblyInfo.cs b/Backup/AssemblyInfo.cs new file mode 100644 index 0000000..b104422 --- /dev/null +++ b/Backup/AssemblyInfo.cs @@ -0,0 +1,15 @@ +using System.Reflection; +using System.Runtime.CompilerServices; + +// +// �йس��򼯵ij�����Ϣ��ͨ������ +// ���Լ����Ƶġ�������Щ����ֵ���޸������ +// ��������Ϣ�� +// +[assembly: AssemblyTitle("")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("")] +[assembly: AssemblyCopyright("")] +[assembly: AssemblyTrademark("")] diff --git a/Backup/Bank.cs b/Backup/Bank.cs new file mode 100644 index 0000000..33ba64e --- /dev/null +++ b/Backup/Bank.cs @@ -0,0 +1,15 @@ +using System; +using System.Data.SqlClient; +using System.Data; +using System.Web.Security; + +namespace WebApplication2 +{ + /// + /// Bank ��ժҪ˵���� + /// + public class Bank + { + string account; + string username; + string money; diff --git a/Backup/DB.cs b/Backup/DB.cs new file mode 100644 index 0000000..270a803 --- /dev/null +++ b/Backup/DB.cs @@ -0,0 +1,15 @@ +using System; +using System.Data.SqlClient; + +namespace WebApplication2 +{ + /// + /// DB ��ժҪ˵���� + /// + public class DB + { + public DB() + { + // + // TODO: �ڴ˴����ӹ��캯���߼� + // diff --git a/Backup/Deposit.aspx b/Backup/Deposit.aspx new file mode 100644 index 0000000..e56e4ac --- /dev/null +++ b/Backup/Deposit.aspx @@ -0,0 +1,15 @@ +<%@ Page language="c#" Codebehind="Deposit.aspx.cs" AutoEventWireup="false" Inherits="WebApplication2.Deposit" %> + + + + Deposit + + + + + + +
+ + ��������Ҫ������Ŀ: diff --git a/Backup/Deposit.aspx.cs b/Backup/Deposit.aspx.cs new file mode 100644 index 0000000..c473201 --- /dev/null +++ b/Backup/Deposit.aspx.cs @@ -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; + +//5_1_a_s_p_x.c_o_m +namespace WebApplication2 +{ + /// diff --git a/Backup/Deposit.aspx.resx b/Backup/Deposit.aspx.resx new file mode 100644 index 0000000..7c427c0 --- /dev/null +++ b/Backup/Deposit.aspx.resx @@ -0,0 +1,15 @@ + + + + + + + Migration Report +