This topic has been archived. It cannot be replied.
-
工作学习 / IT技术讨论 / .NET请教:如果想从数据库里直接取出BLOB数据,然后显示在web form里的某个control上,用那个control? Image好像不行,只能用imageURL。谢谢。
-luoboyang(萝卜秧);
2003-7-17
(#1290410@0)
-
does image control have some size limitation?
-ningxin0809(雁影行洲);
2003-7-17
(#1290417@0)
-
不是,是image没有什么property可以给这类BLOB data.
-luoboyang(萝卜秧);
2003-7-17
(#1290425@0)
-
probably this URL will help you.
-ningxin0809(雁影行洲);
2003-7-17
(#1290435@0)
-
谢谢,我已经得到了,就是想把取出来的show在web form 上。
-luoboyang(萝卜秧);
2003-7-17
(#1290438@0)
-
write from BOLB to a tempory file , then show the file on web form based on the file extension. ?
-ningxin0809(雁影行洲);
2003-7-17
(#1290454@0)
-
正在试验,一会儿告诉你。:)
-luoboyang(萝卜秧);
2003-7-17
(#1290460@0)
-
嗯,成功了!不过,如果客户不希望用temp image file的话,还得想个法子。:))
-luoboyang(萝卜秧);
2003-7-17
(#1290491@0)
-
wonderful.
-ningxin0809(雁影行洲);
2003-7-17
(#1290499@0)
-
知道吗,客户之所以要用BLOB data,就是为了避免文件在server上的存取访问。所以,我还不知道这个行不行呢。:(
-luoboyang(萝卜秧);
2003-7-17
(#1290505@0)
-
my thoughts :)strange, BOLB data we used only for some data we don;t use very often. it is very rare for me to show the data on web form. and I don;t think Oracle will allow you to access the dataset directly. I use MS oracle provider. probably Oracle itself .net provider will give you some benifits? I doubt.
-ningxin0809(雁影行洲);
2003-7-17
{299}
(#1290510@0)
-
check your email please.
-lilyba(sunshine困惑不懂装懂);
2003-7-17
(#1290511@0)
-
if there is a new way, I want to know either :)
-ningxin0809(雁影行洲);
2003-7-17
(#1290519@0)
-
我要是那么自信的话,我就贴在这里了。:(你等等啊。
-lilyba(sunshine困惑不懂装懂);
2003-7-17
(#1290525@0)
-
discussion ma, nobody is 100% sure :)
-ningxin0809(雁影行洲);
2003-7-17
(#1290579@0)
-
HOW TO: Copy a Picture from a Database Directly to a PictureBox Control with Visual C#
-luoboyang(萝卜秧);
2003-7-17
(#1290528@0)
-
windows controls are so richy. they use memory to hold the image instead of temepry file. cost too much.
-ningxin0809(雁影行洲);
2003-7-17
(#1290574@0)
-
你这个例子我已经知道了,他用的是windows form上的pictureBox,里面的image property给你很大空间,但是我现在需要的是web form上的control. :))谢谢anyway.
-luoboyang(萝卜秧);
2003-7-17
(#1290522@0)
-
现在才发现web form 里面没有picture这个控件。:(不过我还看到一个用adrotator从xml文件里取image的例程。
-lilyba(sunshine困惑不懂装懂);
2003-7-17
(#1290545@0)
-
不用那么麻烦吧:Response.ContentType = "image/gif" Response.BinaryWrite(byte[])
-miketany(MIKE老狼);
2003-7-17
(#1290610@0)
-
萝卜秧,试验 :)
-ningxin0809(雁影行洲);
2003-7-17
(#1290612@0)
-
The solution exactly you want:
http://www.dotnetjunkies.com/Tutorial/ShowContent.aspx?cg=7C567077-FD40-40A7-8B68-F2744EE55CF9&ForumID=4171Internet has everything, Rolia is good place to find chat expert not tech expert :P
-feihong(feihong);
2003-7-17
{83}
(#1290631@0)