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

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

于 2022-07-19 发布 文件大小:9.46 kB
0 184
下载积分: 2 下载次数: 1

代码说明:

微软的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

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • VC 一个数据库查询系统
    VC 一个数据库查询系统-VC a database query system
    2022-10-26 00:45:04下载
    积分:1
  • 该EXE软件可以免去通过SQL EXPLOR或者数据库查询界面进行查询的麻烦,直接可以打开该EXE文件,因为该EXE是读去BDE中的数据库别名进行连接,所以使用...
    该EXE软件可以免去通过SQL EXPLOR或者数据库查询界面进行查询的麻烦,直接可以打开该EXE文件,因为该EXE是读去BDE中的数据库别名进行连接,所以使用的时候你的保证你的数据库是否通过ODBC连接上。 因为在程序中用到了第三方控件(主要是RAISE系列控件),以及我自己在第三方控件开发的控件,所以打开界面是如果没有安装第三方控件可能报错,不过没关系,我用第三方控件都是处理界面用的,你完全可以用DELPHI自带的标准控间进行替换,从而达到在自己可以编译。-the software can avoid EXPLOR or SQL database query interface for the trouble, can directly open the EXE file, which is read out EXE BDE the alias database linking, the use of the time you ensure that your database through ODBC connection. Because the procedures used by third-party controls (mainly RAISE series of controls), and my own controls in the development of third-party control, so if the open interface is not possible to install third-party control errors, but okay, I used to deal with third-party interface controls are used, you can use Delphi"s own standards for inter-controlled replacement, and thereby achieve it in their own compiler.
    2022-03-11 15:51:24下载
    积分:1
  • 企业备忘录管理系统,外加数据库创建脚本(sql server 2000下)...
    企业备忘录管理系统,外加数据库创建脚本(sql server 2000下)-Enterprise memorandum management system, plus a script to create the database (sql server 2000, under)
    2022-05-06 19:32:27下载
    积分:1
  • 一个很好的ODBC数据库编程例子包含窗体的风格,以及多个视图中消息的传递方式看了,绝对有收获...
    一个很好的ODBC数据库编程例子包含窗体的风格,以及多个视图中消息的传递方式看了,绝对有收获-a good example of ODBC Database Programming includes forms of style, and many view the information transfer mode read, it is definitely harvest
    2022-02-12 11:05:21下载
    积分:1
  • 自动售货机的销售,数量,以及销售
    自动售货机自动监测货品数量,金额,以及销售情况-Automatic monitoring of vending machines for sale, the amount, as well as sales
    2023-05-22 11:50:02下载
    积分:1
  • small library management procedures, with vb development, ACCESS database, very...
    图书馆管理小程序,用vb开发,有ACCESS数据库,非常好用,适合昨毕业设计,-small library management procedures, with vb development, ACCESS database, very good, for last graduation design,
    2022-08-23 14:19:19下载
    积分:1
  • Delphi programming framework, the three
    Delphi编程框架,三层结构,无第三方控件,D6以上-Delphi programming framework, the three-tier structure, and no third-party control, more than D6
    2022-01-25 22:42:52下载
    积分:1
  • 用ADO进行VC编程
    用ADO进行VC编程-with ADO programming for VC
    2022-01-27 15:07:50下载
    积分:1
  • Examination of information management system is a full
    考试信息管理系统是功能齐全的管理系统,可以作为商业代码直接使用-Examination of information management system is a full-featured management system that can be used directly as a commercial code
    2023-03-24 14:45:03下载
    积分:1
  • Qt SQL是一个简单的数据库浏览器GUI
    Qt SQL Browse是一个简单的、泛化GUI数据库浏览器前端。该工具是一个非常简单的Qt数据库类的汇集器。数据库抽象由Qt数据库驱动程序提供-Qt SQL is a simple, generalized database browser GUI front-end. The tool is a very simple database Qt pool for the category. Qt database abstraction from database-driven procedures
    2022-05-21 16:53:34下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载