<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/ht ......
ÎÒÏë×öÒ»¸ö³ÌÐò£¬Ëûͨ¹ý½Ø»ñÍøÂçÊý¾Ý±¨ÎÄ£¬¹ýÂ˱¨ÎÄÖеÄasp.netÓï¾ä£¬È»ºó¸Äд±¨ÎĵĶ«Î÷¡£ÎÒ¶Ôasp.net²»¶®£¬ÎÒÏëÎÊϸ÷λ¸ßÈË£¬asp.netÊÇÒÔʲôÑùµÄ±êÖ¾ÆðÍ·£¬Ê²Ã´ÑùµÄ±êÖ¾½áβÄØ¡£¶àл¸÷λÁË¡£
Âé·³´ó¸çÄܸøÒ»¸öÀý×Ó²»£¿
±ÈÈç˵Õâ¸öÀý×Ó£º
<%@ Page Language="C#" %>
<html>
< ......
½¨ÁËÒ»¸öÕ¾µã£¬ÀïÃæÓÐ login.aspx. events.aspx µÈµÈ ÆäËûµÄÒ³Ãæ¡£
µ«ÊÇÎÒµ÷ÊÔ ÆäËûÒ³ÃæµÄʱºò£¬±Ä³öÀ´µÄ×ÜÊÇ login.aspx Ò³Ãæ¡£
¸Õѧasp ÇëÖ¸½Ì
ÄãÉèÖÃÆðʼҳÁË°É¡£¡£
¶÷ÔõôȡÏûÄØ£¿
Òªµ÷ÊÔÄĸöÒ³Ãæ¾ÍÑ¡ÖÐÕâ¸öÒ³Ã棬Ȼºóµ÷ÊÔ
»òÕß´ò¿ªÒªµ÷ÊÔµÄÒ³Ã棬Ȼºóµ÷ÊÔ
ÔÚÓÒ邊µÄ資Ô´Îļ ......
MemoryStream ms = new MemoryStream(data);
Bitmap b = new Bitmap(ms);
ÔõôÊÇ´íÎó°¡~ÌáʾÊÇBitmap(ms);ÖÐms²ÎÊýµÄ¸ñʽ ²»ÕýÈ·~
Äã¿´Ò»ÏÂMemoryStream ºÍBitmap Õâ2¸öÊDz»Êǹٷ½µÄÄÇ2¸öÀࣿ
ÊDz»ÊÇÄãÒýÓÃÁËʲôÆäËûµÄÃüÃû¿Õ¼ä
ûÓа¡~ÎÒÊÇÏë°ÑbytesÀàÐÍ×¥»»³ÉstreamÀàÐ굀 ......
<%set rs=server.CreateObject("Adodb.recordset")
rs.open "select * from zs_news where m_classid="&classid&" order by m_id desc",conn,1,1
rs.movenext'ÕâÐÐΪʲô²»¹ÜÓÃÄØ£¿È¥ÁËÕâÐÐÄÜÏÔʾ±¾Ìõ¼Ç¼£¬µ«ÊǼÓÉϲ»ÄÜÏÔʾÏÂÌõ¼Ç¼
respons ......
HTML code:
sql = "select top 1 * from cm_info where lm2='"&lm2&"' and (name='"&Request("name")&"' or haoma='"&Request("haoma")&"' or fenji='"&Request("fenji")&"')"
'response.write sql
......