基本信息
源码名称:C#存取任何文件到mdb数据库实用程序
源码大小:22.69M
文件格式:.rar
开发语言:C#
更新时间:2022-06-30
   友情提示:(无需注册或充值,赞助后即可获取资源下载链接)

     嘿,亲!知识可是无价之宝呢,但咱这精心整理的资料也耗费了不少心血呀。小小地破费一下,绝对物超所值哦!如有下载和支付问题,请联系我们QQ(微信同号):813200300

本次赞助数额为: 2 元 
   源码介绍

本程序以Pdf文档为例(也可以是任何文件)读入数据库,从数据库读取后在Form2pdfviewer控件中打开,或者添加其他控件打开相应文件,也可以选择存入硬盘。

平时使用的Pdf文档资料页数很多,可是只有几页常用,本程序目的是提取常用页面到数据库,便于快速查看。

本程序以家庭实用菜谱.Pdf为例,从中提取几页存入数据库。附:家庭实用菜谱(高清全彩版)百度链接。

程序技巧:

Spire.PdfViewer.Forms.dll调用

Form1Form2的传值,并且只打开一个Form2

ComboBox不重复添加选项

磁盘文件到byte[]相互转换

对含有OLE对象字段的记录进行增删改

使用Process.Start()打开外部文件

│  文档库.sln
│  菜谱(高清全彩版)百度链接.txt
│  
└─文档库
    │  App.config
    │  Form1.cs
    │  Form1.Designer.cs
    │  Form1.resx
    │  Form2.cs
    │  Form2.Designer.cs
    │  Form2.resx
    │  hmsetup.ico
    │  P.ico
    │  Program.cs
    │  文档库.csproj
    │  
    ├─bin
    │  ├─Debug
    │  │      asdfas
    │  │      Library.mdb
    │  │      Microsoft.mshtml.dll
    │  │      Spire.License.dll
    │  │      Spire.License.xml
    │  │      Spire.Pdf.dll
    │  │      Spire.Pdf.xml
    │  │      Spire.PdfViewer.Forms.dll
    │  │      Spire.PdfViewer.Forms.xml
    │  │      文档库.exe
    │  │      文档库.exe.config
    │  │      文档库.pdb
    │  │      文档库.vshost.exe
    │  │      文档库.vshost.exe.config
    │  │      文档库.vshost.exe.manifest
    │  │      
    │  └─NET4.0
    │          Spire.License.dll
    │          Spire.License.xml
    │          Spire.Pdf.dll
    │          Spire.Pdf.xml
    │          Spire.PdfViewer.Asp.dll
    │          Spire.PdfViewer.Asp.xml
    │          Spire.PdfViewer.Forms.dll
    │          Spire.PdfViewer.Forms.XML
    │          
    ├─obj
    │  └─Debug
    │      │  DesignTimeResolveAssemblyReferences.cache
    │      │  DesignTimeResolveAssemblyReferencesInput.cache
    │      │  TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs
    │      │  TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs
    │      │  TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs
    │      │  文档库.csproj.FileListAbsolute.txt
    │      │  文档库.csproj.GenerateResource.Cache
    │      │  文档库.csprojResolveAssemblyReference.cache
    │      │  文档库.exe
    │      │  文档库.Form1.resources
    │      │  文档库.Form2.resources
    │      │  文档库.pdb
    │      │  文档库.Properties.Resources.resources
    │      │  
    │      └─TempPE
    └─Properties
            AssemblyInfo.cs
            Resources.Designer.cs
            Resources.resx
            Settings.Designer.cs
            Settings.settings