• 大小: 0.12M
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2020-12-14
  • 语言: C#
  • 标签: 数据库  Access  C#  c  

资源简介


资源截图

代码片段和文件信息

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using ADOX;
using JRO;
using System.IO; 
//首先引用C:\Program Files\Common Files\System\ado\msadox.dll该DLL包含ADOX命名空间;
//接着引用C:\Program Files\Common Files\System\ado\msjro.dll该DLL包含JRO命名空间
namespace Ex16_04
{
    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();
        }
        //打开选择数库咱径
        private void button1_Click(object sender EventArgs e)
        {
            openFileDialog1.Filter = “Access数据库|*.mdb“;
            if (openFileDialog1.ShowDialog() == DialogResult.OK)
            {
                textBox1.Text = openFileDialog1.FileNa

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2010-04-06 13:10  Ex16_04\
     文件         910  2007-07-11 11:34  Ex16_04.sln
     文件       29696  2007-07-11 11:34  Ex16_04.suo
     目录           0  2010-04-06 13:10  Ex16_04\bin\
     目录           0  2010-04-06 13:10  Ex16_04\bin\Debug\
     文件       20480  2007-07-11 11:34  Ex16_04\bin\Debug\Ex16_04.exe
     文件       28160  2007-07-11 11:34  Ex16_04\bin\Debug\Ex16_04.pdb
     文件        5658  2007-07-11 11:34  Ex16_04\bin\Debug\Ex16_04.vshost.exe
     文件      102400  2007-07-11 11:34  Ex16_04\bin\Debug\Interop.ADODB.dll
     文件       36864  2007-07-11 11:34  Ex16_04\bin\Debug\Interop.ADOX.dll
     文件        9216  2007-07-11 11:34  Ex16_04\bin\Debug\Interop.JRO.dll
     文件        4116  2007-07-11 11:34  Ex16_04\Ex16_04.csproj
     文件        2863  2007-07-11 11:34  Ex16_04\Form1.cs
     文件        4662  2007-07-11 11:34  Ex16_04\Form1.Designer.cs
     文件        6017  2007-07-11 11:34  Ex16_04\Form1.resx
     目录           0  2010-04-06 13:10  Ex16_04\obj\
     目录           0  2010-04-06 13:10  Ex16_04\obj\Debug\
     文件         842  2007-07-11 11:34  Ex16_04\obj\Debug\Ex16_04.csproj.GenerateResource.Cache
     文件         650  2007-07-11 11:34  Ex16_04\obj\Debug\Ex16_04.csproj.ResolveComReference.cache
     文件       20480  2007-07-11 11:34  Ex16_04\obj\Debug\Ex16_04.exe
     文件         180  2007-07-11 11:34  Ex16_04\obj\Debug\Ex16_04.Form1.resources
     文件       28160  2007-07-11 11:34  Ex16_04\obj\Debug\Ex16_04.pdb
     文件         180  2007-07-11 11:34  Ex16_04\obj\Debug\Ex16_04.Properties.Resources.resources
     文件      102400  2007-07-11 11:34  Ex16_04\obj\Debug\Interop.ADODB.dll
     文件       36864  2007-07-11 11:34  Ex16_04\obj\Debug\Interop.ADOX.dll
     文件        9216  2007-07-11 11:34  Ex16_04\obj\Debug\Interop.JRO.dll
     目录           0  2010-04-06 13:10  Ex16_04\obj\Debug\TempPE\
     文件         488  2007-07-11 11:34  Ex16_04\obj\Ex16_04.csproj.FileList.txt
     文件         466  2007-07-11 11:34  Ex16_04\Program.cs
     目录           0  2010-04-06 13:10  Ex16_04\Properties\
     文件        1162  2007-07-11 11:34  Ex16_04\Properties\AssemblyInfo.cs
............此处省略4个文件信息

评论

共有 条评论