文件名称:blobrw
- 所属分类:
- 数据库编程
- 资源属性:
- [Windows] [Visual.Net] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 33kb
- 下载次数:
- 0次
- 提 供 者:
- 张*
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
微软的SQL SERVER数据库的Image、text等字段都属于二进制的大对象。这些对象的存取和其他轻型对象略有不同。
微软.NET fr a mework的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 fr a mework 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 be possible to cut to the
browsing condition, watches stores the database the picture. Because
to binary big object use class operation, therefore all has the
versatility regarding any document. The read-write text documents also
may such do.
微软.NET fr a mework的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 fr a mework 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 be possible to cut to the
browsing condition, watches stores the database the picture. Because
to binary big object use class operation, therefore all has the
versatility regarding any document. The read-write text documents also
may such do.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
BLOBRW
......\AssemblyInfo.cs
......\bin
......\...\Release
......\BLOBRW.csproj
......\BLOBRW.csproj.user
......\BLOBRW.sln
......\Form1.cs
......\Form1.resx
......\obj
......\...\Debug
......\...\Release
......\AssemblyInfo.cs
......\bin
......\...\Release
......\BLOBRW.csproj
......\BLOBRW.csproj.user
......\BLOBRW.sln
......\Form1.cs
......\Form1.resx
......\obj
......\...\Debug
......\...\Release