Location:
Search - blobrw
Search list
Description: 微软的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 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.
Platform: |
Size: 9682 |
Author: 张庆 |
Hits:
Description: 微软的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 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.
Platform: |
Size: 33792 |
Author: 张庆 |
Hits:
Description: 微软的SQL SERVER数据库的Image、text等字段都属于二进制的大对象。这些对象的存取和其他轻型对象略有不同。
微软.NET Framework的System.IO命名空间下给我们提供了一个FileStream文件流类。我们可以使用这个文件流对二进制大对象轻松进行读写。
我实现了一个简单的WinForm程序,这个程序通过点击“Open”按钮选择一个bmp或者jpg文件,并显示在图形控件PictureBox中。通过“Save”按钮存入数据库。点击“View”CheckBox可以切换到浏览状态,观看存入数据库的图片。
由于对二进制大对象使用的流操作,所以对于任何文件都具有通用性。读写文本文件也可以这么做-odbc
Platform: |
Size: 33792 |
Author: tanpan |
Hits:
Description: 使用微软.NET Framework的System.IO命名空间下的FileStream文件流类,实现对二进制大对象轻松进行读写。这是一个用VS2005编写的WinForm程序,通过打开一个bmp或者jpg大文件,让其显示在图形控件PictureBox中。通过“Save”按钮存入数据库。点击“View”CheckBox可以切换到浏览状态,观看存入数据库的图片。对二进制大对象使用的流操作,对于任何文件都具有通用性,读写文本文件也可以这么做。
-Microsoft. NET Framework' s System.IO namespace FileStream file stream classes, to achieve the easy to read and write binary large object. This is a WinForm program written with VS2005, bmp or jpg by opening a large file, display it in the PictureBox control in the graph. Through the " Save" button in the database. Click the " View" CheckBox can switch to view the status, view pictures stored in the database. Use of binary large object stream operations, for any file with a versatile, read and write text files can also do so.
Platform: |
Size: 28672 |
Author: 黄黄 |
Hits: