91av视频/亚洲h视频/操亚洲美女/外国一级黄色毛片 - 国产三级三级三级三级

  • 大小: 1.28MB
    文件類型: .zip
    金幣: 2
    下載: 0 次
    發(fā)布日期: 2023-10-11
  • 語(yǔ)言: C#
  • 標(biāo)簽: C#??SQL??Server??

資源簡(jiǎn)介

基于VS2010+C#+SQL Server 2008 開(kāi)發(fā)的網(wǎng)上銀行自助系統(tǒng)(ATM) 附數(shù)據(jù)庫(kù)設(shè)計(jì)截圖 需要你自己建立 sql server 2008 此資源僅供學(xué)習(xí)!(增 刪 改 查 功能都有)

資源截圖

代碼片段和文件信息

using?System;
using?System.Collections.Generic;
using?System.ComponentModel;
using?System.Data;
using?System.Drawing;
using?System.Linq;
using?System.Text;
using?System.Windows.Forms;
using?System.Data.SqlClient;

namespace?atm
{
????public?partial?class?del?:?Form
????{
????????public?del()
????????{
????????????InitializeComponent();
????????}

????????private?void?del_Load(object?sender?EventArgs?e)
????????{
????????????this.ControlBox?=?false;
????????????SqlConnection?conn?=?new?SqlConnection(“server=“?+?Form1.Pub.Server?+?“;database=“?+?Form1.Pub.Database?+?“;uid=“?+?Form1.Pub.Uid?+?“;pwd=“?+?Form1.Pub.Pwd);
????????????string?select?=?“select?username?from?admin?where?id=“?+?Form1.Pub.id;
????????????string?select2?=?“select?money?from?admin?where?id=“?+?Form1.Pub.id;
????????????string?select3?=?“select?phone?from?admin?where?id=“?+?Form1.Pub.id;
????????????conn.Open();
????????????SqlCommand?com?=?new?SqlCommand(select?conn);
????????????SqlCommand?comm?=?new?SqlCommand(select2?conn);
????????????SqlCommand?commm?=?new?SqlCommand(select3?conn);
????????????string?butUsername?=?com.ExecuteScalar().ToString();
????????????string?butMoney?=?comm.ExecuteScalar().ToString();
????????????string?butPhone?=?commm.ExecuteScalar().ToString();
????????????com.Clone();
????????????comm.Clone();
????????????commm.Clone();
????????????conn.Close();
????????????username.Text?=?butUsername;
????????????money.Text?=?butMoney;
????????????phone.Text?=?butPhone;
????????}

????????private?void?button2_Click(object?sender?EventArgs?e)
????????{
????????????this.Close();
????????}

????????private?void?delbut_Click(object?sender?EventArgs?e)
????????{
????????????if(Convert.ToInt32(money.Text)?!=?0){
????????????????MessageBox.Show(“您的余額不為0,無(wú)法注銷!“);
????????????}
????????????else{
????????????????
????????????????DialogResult?result?=?MessageBox.Show(“確定注銷嗎?““注銷“MessageBoxButtons.YesNoMessageBoxIcon.Question);?
????????????????if(result?==?DialogResult.Yes){
????????????????????SqlConnection?conn?=?new?SqlConnection(“server=“?+?Form1.Pub.Server?+?“;database=“?+?Form1.Pub.Database?+?“;uid=“?+?Form1.Pub.Uid?+?“;pwd=“?+?Form1.Pub.Pwd);
????????????????????string?DelBut?=?“delete?admin?where?id=“?+?Form1.Pub.id;
????????????????????conn.Open();
????????????????????SqlCommand?com?=?new?SqlCommand(DelBut?conn);
????????????????????int?res?=?com.ExecuteNonQuery();
????????????????????if?(res?>?0)
????????????????????{
????????????????????????MessageBox.Show(“注銷賬戶成功!登錄已退出!“);
????????????????????????this.Close();
????????????????????????Form1.Pub.id?=?0;
????????????????????}
????????????????????com.Clone();
????????????????????conn.Close();
????????????????}
????????????????else{
????????????????????return;
????????????????}
????????????????????????????
????????????}
????????}
????}
}

?屬性????????????大小?????日期????時(shí)間???名稱
-----------?---------??----------?-----??----
?????目錄???????????0??2019-06-11?00:17??C#?網(wǎng)上銀行自助系統(tǒng)(ATM)\
?????目錄???????????0??2018-12-07?12:43??C#?網(wǎng)上銀行自助系統(tǒng)(ATM)\atm2\
?????目錄???????????0??2018-12-07?12:43??C#?網(wǎng)上銀行自助系統(tǒng)(ATM)\atm2\atm\
?????文件?????????851??2018-11-24?14:31??C#?網(wǎng)上銀行自助系統(tǒng)(ATM)\atm2\atm.sln
?????文件???????34304??2019-06-11?00:19??C#?網(wǎng)上銀行自助系統(tǒng)(ATM)\atm2\atm.suo
?????文件????????5479??2018-12-06?22:55??C#?網(wǎng)上銀行自助系統(tǒng)(ATM)\atm2\atm\atm.csproj
?????目錄???????????0??2018-12-07?12:38??C#?網(wǎng)上銀行自助系統(tǒng)(ATM)\atm2\atm\bin\
?????目錄???????????0??2018-12-07?12:43??C#?網(wǎng)上銀行自助系統(tǒng)(ATM)\atm2\atm\bin\Debug\
?????文件???????65024??2019-06-11?00:19??C#?網(wǎng)上銀行自助系統(tǒng)(ATM)\atm2\atm\bin\Debug\atm.exe
?????文件??????118272??2019-06-11?00:19??C#?網(wǎng)上銀行自助系統(tǒng)(ATM)\atm2\atm\bin\Debug\atm.pdb
?????文件???????11600??2019-06-11?00:19??C#?網(wǎng)上銀行自助系統(tǒng)(ATM)\atm2\atm\bin\Debug\atm.vshost.exe
?????文件?????????490??2018-09-15?15:29??C#?網(wǎng)上銀行自助系統(tǒng)(ATM)\atm2\atm\bin\Debug\atm.vshost.exe.manifest
?????文件????????2972??2018-12-06?23:46??C#?網(wǎng)上銀行自助系統(tǒng)(ATM)\atm2\atm\del.cs
?????文件????????7174??2018-12-06?23:46??C#?網(wǎng)上銀行自助系統(tǒng)(ATM)\atm2\atm\del.Designer.cs
?????文件????????5817??2018-12-06?23:46??C#?網(wǎng)上銀行自助系統(tǒng)(ATM)\atm2\atm\del.resx
?????文件????????3954??2019-06-11?00:18??C#?網(wǎng)上銀行自助系統(tǒng)(ATM)\atm2\atm\Form1.cs
?????文件????????8203??2019-06-11?00:18??C#?網(wǎng)上銀行自助系統(tǒng)(ATM)\atm2\atm\Form1.Designer.cs
?????文件???????12742??2019-06-11?00:18??C#?網(wǎng)上銀行自助系統(tǒng)(ATM)\atm2\atm\Form1.resx
?????文件????????2807??2019-06-11?00:19??C#?網(wǎng)上銀行自助系統(tǒng)(ATM)\atm2\atm\login.cs
?????文件????????5151??2019-06-11?00:19??C#?網(wǎng)上銀行自助系統(tǒng)(ATM)\atm2\atm\login.Designer.cs
?????文件???????12549??2019-06-11?00:19??C#?網(wǎng)上銀行自助系統(tǒng)(ATM)\atm2\atm\login.resx
?????文件???????10618??2018-12-07?01:51??C#?網(wǎng)上銀行自助系統(tǒng)(ATM)\atm2\atm\money.cs
?????文件???????13474??2018-12-07?01:37??C#?網(wǎng)上銀行自助系統(tǒng)(ATM)\atm2\atm\money.Designer.cs
?????文件???????12549??2018-12-07?01:37??C#?網(wǎng)上銀行自助系統(tǒng)(ATM)\atm2\atm\money.resx
?????目錄???????????0??2018-12-07?12:38??C#?網(wǎng)上銀行自助系統(tǒng)(ATM)\atm2\atm\obj\
?????目錄???????????0??2018-12-07?12:38??C#?網(wǎng)上銀行自助系統(tǒng)(ATM)\atm2\atm\obj\x86\
?????目錄???????????0??2019-06-11?00:19??C#?網(wǎng)上銀行自助系統(tǒng)(ATM)\atm2\atm\obj\x86\Debug\
?????文件????????4653??2019-06-11?00:19??C#?網(wǎng)上銀行自助系統(tǒng)(ATM)\atm2\atm\obj\x86\Debug\atm.csproj.FileListAbsolute.txt
?????文件????????1321??2019-06-11?00:19??C#?網(wǎng)上銀行自助系統(tǒng)(ATM)\atm2\atm\obj\x86\Debug\atm.csproj.GenerateResource.Cache
?????文件????????9174??2018-11-24?20:48??C#?網(wǎng)上銀行自助系統(tǒng)(ATM)\atm2\atm\obj\x86\Debug\atm.csprojResolveAssemblyReference.cache
?????文件?????????180??2018-12-06?23:46??C#?網(wǎng)上銀行自助系統(tǒng)(ATM)\atm2\atm\obj\x86\Debug\atm.del.resources
............此處省略33個(gè)文件信息

評(píng)論

共有 條評(píng)論