通过VB.6.0在SQL 2000中存储图像 [英] Image store in SQL 2000 through VB.6.0

查看:121
本文介绍了通过VB.6.0在SQL 2000中存储图像的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

请在Visual Basic中提供示例代码
如何将图像插入sql server 2000中
以及如何在SQL Server 2000中将图像显示到图像框
或如何在Visual Basic中将图像文件存储到sql server 2000中
以及如何从sql server 2000在vb工具中显示

在插入以存储图像之前如何创建表
数据类型是什么?

Please give a sample code in Visual basic
how to insert a image into a sql server 2000
and how display image to image box from sql server 2000
or how store imagefile to sql server 2000 in visual basic
and how to display in vb tool from sql server 2000

how to create table before insert to store image
what is the data type

推荐答案

您已经问了太多问题.告诉我们您至少尝试过一些东西,也许我们会帮助您.如果您不做工作,我们不仅会给您完成的代码.我们在这里为您提供帮助,而不是为您服务.

就是说,使用图像"数据类型将大量信息存储到SQL Server 2000数据库中.请注意,图像"是用词不当...它实际上存储任何大字节数组……它们实际上不一定是图像.例如,我最近使用图像数据类型将文件存储在服务器上.您可以使用相同的技术来存储图像.哦,我在Google上找到了我所需的一切...答案已经存在了;您只需要找到它们.
You''ve asked far too many questions. Show us that you''ve at least tried some stuff and maybe we''ll help you out. We''re not just going to give you the finished code without you doing the work. We''re here to help, not to do your work for you.

That being said, use the "image" data type to store large blocks of information to a SQL Server 2000 database. Note that "image" is a misnomer... it actually stores any large array of bytes... they need not actually be an image. For example, I recently used the image datatype to store files on a server. You could use the same technique to store images. Oh, and I found everything I needed on Google... the answers are already out there; you just need to find them.


这篇关于通过VB.6.0在SQL 2000中存储图像的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆