• 大小: 0.06M
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2020-12-14
  • 语言: C#
  • 标签: 登录  

资源简介


资源截图

代码片段和文件信息

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.OleDb;
namespace Case05_5
{
    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();
        }

        private void button1_Click(object sender EventArgs e)
        {
            if (textBox1.Text == ““ || textBox2.Text == ““)
            {
                MessageBox.Show(“输入登录信息不完整,请从新输入!“ “信息提示“ MessageBoxButtons.OK MessageBoxIcon.Information);            //提示对话框
            }
            else
            {

                string mypath = Application.StartupPath + “\\mydata.mdb“;   //连接数据库的路径及数据库名
  

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2018-05-25 13:29  Case05_5\
     文件        5270  2018-05-25 13:29  Case05_5\Case05_5.csproj
     文件         453  2018-05-25 13:29  Case05_5\Case05_5.csproj.user
     文件        6381  2010-09-16 18:43  Case05_5\Form1.Designer.cs
     文件        2516  2018-05-25 13:32  Case05_5\Form1.cs
     文件        5814  2008-06-11 10:32  Case05_5\Form1.resx
     文件        3083  2008-06-11 10:32  Case05_5\Form2.Designer.cs
     文件        1550  2010-09-16 18:56  Case05_5\Form2.cs
     文件        5814  2008-06-11 10:32  Case05_5\Form2.resx
     文件         489  2008-06-11 09:56  Case05_5\Program.cs
     目录           0  2010-09-16 18:49  Case05_5\Properties\
     文件        1372  2008-06-11 09:56  Case05_5\Properties\AssemblyInfo.cs
     文件        2857  2018-05-25 13:29  Case05_5\Properties\Resources.Designer.cs
     文件        5612  2008-06-11 09:56  Case05_5\Properties\Resources.resx
     文件        1108  2018-05-25 13:29  Case05_5\Properties\Settings.Designer.cs
     文件         249  2008-06-11 09:56  Case05_5\Properties\Settings.settings
     目录           0  2010-09-16 18:49  Case05_5\bin\
     目录           0  2018-05-25 13:31  Case05_5\bin\Debug\
     文件       12288  2018-05-25 13:29  Case05_5\bin\Debug\Case05_5.exe
     文件       26112  2018-05-25 13:29  Case05_5\bin\Debug\Case05_5.pdb
     文件      225280  2018-05-25 13:30  Case05_5\bin\Debug\mydata.mdb
     目录           0  2018-05-25 13:29  Case05_5\obj\
     目录           0  2018-05-25 13:29  Case05_5\obj\Debug\
     文件         180  2018-05-25 13:29  Case05_5\obj\Debug\Case05_5.Form1.resources
     文件         180  2018-05-25 13:29  Case05_5\obj\Debug\Case05_5.Form2.resources
     文件         180  2018-05-25 13:29  Case05_5\obj\Debug\Case05_5.Properties.Resources.resources
     文件          42  2018-05-25 13:29  Case05_5\obj\Debug\Case05_5.csproj.CoreCompileInputs.cache
     文件        1477  2018-05-25 13:29  Case05_5\obj\Debug\Case05_5.csproj.FileListAbsolute.txt
     文件         905  2018-05-25 13:29  Case05_5\obj\Debug\Case05_5.csproj.GenerateResource.cache
     文件       11066  2018-05-25 13:29  Case05_5\obj\Debug\Case05_5.csprojResolveAssemblyReference.cache
     文件       12288  2018-05-25 13:29  Case05_5\obj\Debug\Case05_5.exe
............此处省略6个文件信息

评论

共有 条评论