• 大小: 0.65M
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2021-02-23
  • 语言: 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;
using System.Data.SqlClient;
using System.IO;

namespace AccessCon
{
    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();
        }
        public static string strCon = ““;

        private void button1_Click(object sender EventArgs e)
        {
            openFileDialog1.Filter = “*.mdb(Access数据库文件)|*.mdb|*.*(所有文件)|*.*“;
            if (openFileDialog1.ShowDialog() == DialogResult.OK)
            {
                textBox1.Text = openFileDialog1.FileName;
            }
        }

        private void button3_Click(object sender EventArgs e)
        {
            if (radioButton1.Checked == true)
            {
                if (textBox1.Text != ““)
                {
              

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     文件         917  2009-02-11 09:12  sj\01\AccessCon\AccessCon.sln
     文件       19968  2009-02-11 09:17  sj\01\AccessCon\AccessCon.suo
     文件        3764  2009-02-11 09:13  sj\01\AccessCon\AccessCon\AccessCon.csproj
     文件        2157  2009-02-11 09:16  sj\01\AccessCon\AccessCon\Form1.cs
     文件        8106  2009-02-11 09:16  sj\01\AccessCon\AccessCon\Form1.designer.cs
     文件        6017  2009-02-11 09:16  sj\01\AccessCon\AccessCon\Form1.resx
     文件         490  2009-02-11 09:12  sj\01\AccessCon\AccessCon\Program.cs
     文件       11264  2009-02-11 09:16  sj\01\AccessCon\AccessCon\bin\Debug\AccessCon.exe
     文件       22016  2009-02-11 09:16  sj\01\AccessCon\AccessCon\bin\Debug\AccessCon.pdb
     文件       14328  2009-02-11 09:17  sj\01\AccessCon\AccessCon\bin\Debug\AccessCon.vshost.exe
     文件         746  2009-02-11 09:17  sj\01\AccessCon\AccessCon\obj\Debug\AccessCon.csproj.FileListAbsolute.txt
     文件         847  2009-02-11 09:16  sj\01\AccessCon\AccessCon\obj\Debug\AccessCon.csproj.GenerateResource.Cache
     文件       11264  2009-02-11 09:16  sj\01\AccessCon\AccessCon\obj\Debug\AccessCon.exe
     文件         180  2009-02-11 09:16  sj\01\AccessCon\AccessCon\obj\Debug\AccessCon.Form1.resources
     文件       22016  2009-02-11 09:16  sj\01\AccessCon\AccessCon\obj\Debug\AccessCon.pdb
     文件         180  2009-02-11 09:16  sj\01\AccessCon\AccessCon\obj\Debug\AccessCon.Properties.Resources.resources
     文件        1374  2009-02-11 09:12  sj\01\AccessCon\AccessCon\Properties\AssemblyInfo.cs
     文件        2868  2009-02-11 09:12  sj\01\AccessCon\AccessCon\Properties\Resources.Designer.cs
     文件        5612  2009-02-11 09:12  sj\01\AccessCon\AccessCon\Properties\Resources.resx
     文件        1094  2009-02-11 09:12  sj\01\AccessCon\AccessCon\Properties\Settings.Designer.cs
     文件         249  2009-02-11 09:12  sj\01\AccessCon\AccessCon\Properties\Settings.settings
     文件         908  2009-02-11 09:17  sj\02\SQLCon\SQLCon.sln
     文件       19456  2009-02-11 09:27  sj\02\SQLCon\SQLCon.suo
     文件        3438  2009-02-11 09:23  sj\02\SQLCon\SQLCon\Form1.cs
     文件       10885  2009-02-11 09:23  sj\02\SQLCon\SQLCon\Form1.designer.cs
     文件        5814  2009-02-11 09:23  sj\02\SQLCon\SQLCon\Form1.resx
     文件         487  2009-02-11 09:17  sj\02\SQLCon\SQLCon\Program.cs
     文件        3758  2009-02-11 09:19  sj\02\SQLCon\SQLCon\SQLCon.csproj
     文件       13312  2009-02-11 09:23  sj\02\SQLCon\SQLCon\bin\Debug\SQLCon.exe
     文件       28160  2009-02-11 09:23  sj\02\SQLCon\SQLCon\bin\Debug\SQLCon.pdb
     文件       14328  2009-02-11 09:24  sj\02\SQLCon\SQLCon\bin\Debug\SQLCon.vshost.exe
............此处省略40个文件信息

评论

共有 条评论