首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > 其他 > 微软的SQL SERVER数据库的Image、text等字段都属于二进制的大对象。这些对象的存取和其他轻型对象略有不同。   微软.NET Framewor...

微软的SQL SERVER数据库的Image、text等字段都属于二进制的大对象。这些对象的存取和其他轻型对象略有不同。   微软.NET Framewor...

  • 资源大小:9.46 kB
  • 上传时间:2021-06-30
  • 下载次数:0次
  • 浏览次数:0次
  • 资源积分:1积分
  • 标      签: ADO-ODBC

资 源 简 介

微软的SQL SERVER数据库的Image、text等字段都属于二进制的大对象。这些对象的存取和其他轻型对象略有不同。   微软.NET Framework的System.IO命名空间下给我们提供了一个FileStream文件流类。我们可以使用这个文件流对二进制大对象轻松进行读写。   我实现了一个简单的WinForm程序,这个程序通过点击“Open”按钮选择一个bmp或者jpg文件,并显示在图形控件PictureBox中。通过“Save”按钮存入数据库。点击“View”CheckBox可以切换到浏览状态,观看存入数据库的图片。   由于对二进制大对象使用的流操作,所以对于任何文件都具有通用性。读写文本文件也可以这么做。 -Microsoft s field and so on SQL SERVER database Image, text all belongs to binary the big object. These objects deposits and withdrawals and other light objects have the difference slightly. MicrosoftNET Framework System.Under the IO naming space provided a FileStream document to us to flow the kind. We may use this document to flow to the binary big object with ease carry on read-write. I have realized a simple WinForm procedure, this procedure through clicks on "Open" the button to choose bmp or the jpg document, and the demonstration controls in PictureBox in the graph. The button stores the database through "Save". Clicks on "View" CheckBox to b

文 件 列 表

BLOBRW
obj
Debug
bin
Release
App.ico
AssemblyInfo.cs
BLOBRW.csproj
BLOBRW.csproj.user
BLOBRW.sln
BLOBRW.suo
Form1.cs
Form1.resx
obj
Release
VIP VIP
0.191898s