Ò׽ؽØÍ¼Èí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

asp MemoryStream

MemoryStream ms = new MemoryStream(data);
        Bitmap b = new Bitmap(ms);

ÔõôÊÇ´íÎó°¡~ÌáʾÊÇBitmap(ms);ÖÐms²ÎÊýµÄ¸ñʽ ²»ÕýÈ·~
Äã¿´Ò»ÏÂMemoryStream ºÍBitmap Õâ2¸öÊDz»Êǹٷ½µÄÄÇ2¸öÀࣿ
ÊDz»ÊÇÄãÒýÓÃÁËʲôÆäËûµÄÃüÃû¿Õ¼ä

ûÓа¡~ÎÒÊÇÏë°ÑbytesÀàÐÍ×¥»»³ÉstreamÀàÐ͵ģ¬


ÒýÓÃ
ÄÇÂ¥Ö÷ÄãµÄdataÊÇÊ²Ã´ÄØ£¿
Bitmap µÄ¹¹Ô캯ÊýÖпÉÒÔ·ÅÈë²ÎÊýΪStreamÐ͵쬶øMemoryStream¼Ì³ÐÓëStreamµÄ£¬Ò²¾ÍÊÇ˵ÄãдµÄÊǶԵģ¬ÄǾÍÒª¿´ÄãµÄdataÁË£¬

Bitmap ÔÚSystem.Drawing;ÏÂ

ÄãÄܰÑVSÖб¨µÄ´íÎóÌù³öÀ´¿´¿´Âð£¿
ÄãÃèÊöµÄ´íÎó¿ÉÄܲ»¶Ô


Ïà¹ØÎÊ´ð£º

aspÖÐÓÃjavascript¶¯Ì¬¸Ä±äImageµÄsrcµÄ·¾¶ÎÊÌâ

<form id="form1" runat="server">
  <div>
  <script type="text/javascript">
  function oo(a){
  document.getEleme ......

ASPÅжϵÄÎÊÌâ,ÓôÃÆÁË!Åжϲ»³öÀ´!

HTML code:

dim jf
set conn=server.createobject("adodb.connection")
connstr="Driver={Sql Server};Server="&Sqlip&";Database="&Sqldb&";Uid="& ......

Ç뾫ͨasp³ÌÐòµÄÅóÓѰïæÐÞ¸ÄÍøÕ¾

ÎÒÃÇÓÐÒ»¸öÍøÕ¾Ä£°å£¬www.c111.com.cn,Ï£ÍûÐÞ¸ÄһЩµØ·½£º
1£©µã»÷×ó²à¡°·þÎñÆ·ÅÆ¡±µÄÆäÖÐÒ»¸öС·ÖÀ࣬Èç¡°×ãÇò¡±£¬½çÃæµÄÓÒ²à¾Í³öÏÖÈçwww.c111.com.cn/1.jpg£¬µã»÷1.jpgÉÏ·½µÄÆäÖÐÒ»¸öÆ·ÅÆlogo£¬ÏÂÃæ¾Í³öÏÖÏà¹ØµÄÍ ......

Ê®ÄêǰÎÒÓÃCÓïÑÔдµÄ³ÌÐò£¬½ñÌì±»ÎÒÓÃASP¸ÄдÁË

Õâ¸ö³ÌÐòÊǶÁ´óһʱѧCÓïÑÔÎÒ×Ô¼ºÏë³öµÄ£¬ÀÏʦֱ¿äÎÒ´ÏÃ÷£¬ÏÖÔÚÓÃASP¸ÄдÁË£¬´ó¼ÒÖªµÀÔËÐнá¹ûÂð
<table width="486" border="1" cellpadding="0" cellspacing="1"& ......

Õâ¶ÎaspÉú³Éxml ÄÇÀï´íÁË?ÄÄλ´ó¸ç°ï°ïæ°¡

VB code:
<!--#include file="conn.asp"--><!--#include file="sqlin.asp"--><?xml version="1.0" encoding="gbk"?>
<%
Request_id=Request(&quo ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ