Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB
ÈÈÃűêÇ©£º c c# c++ asp asp.net linux php jsp java vb Python Ruby mysql sql access Sqlite sqlserver delphi javascript Oracle ajax wap mssql html css flash flex dreamweaver xml
 ×îÐÂÎÄÕ : asp

asp³õѧÎÊÌâ¡£responseÕÒ²»µ½

<%@language="vbscript"%>
<%option explicit%>
<html>
<head> <title>xxx </title> </head>
<script language=vbs>
'×¢Òâ±äÁ¿¶¨ÒåÔÚÕâÀï¸ù±¾Ã»Óã¡ÎªÊ²Ã´ÄØ£¿£¿
xx="bg2.jpg"
</script>

<body> ......

asp ÔõÑùʵÏÖÕâÑùµÄ¹¦ÄÜѽ

×Ö¶Î:selite
|1|2|3|4|5|6|7|8|9|10|11|12|13|14|15|16|17|18|19|20|21|22|23|24|25|26|27|28|29|30|31|32|33|34|35|36|37|38|39|40|41|42


×Ö¶ÎÏÂÃæµÄÊÇÄÚÈÝ.

ÎÒÏëͨ¹ýÔÚ²éѯµÄʱºò.È¡ | ºóÃæµÄ×îºóÒ»ÄÚÈÝ.ÆäËüµÄÈ¥µô.²»ÂÛÇ°ÃæÓжàÉÙÄÚÈÝ


»¹ÓÐÇóÒ»¸öº¯Êý¿ÉÒÔÈ¡Ö¸¶¨Î»ÖüǼ

ÏÈллÁ ......

¹ØÓÚASPµ¼³öEXCEL±í¸ñÎÊÌâ.

HTML code:
<%
Response.Buffer = TRUE
Response.ContentType = "application/vnd.ms-excel"
Response.AddHeader "content-disposition", "inline; filename = "¿Í»§ÐÅÏ¢±í.xls"

%>

ÎÒÓÃÉÏÃæÕâÖÖ·½·¨µ¼³öEXCEL±í¸ñ,ΪʲôֻÄܵ ......

Ò»¸öASP´«ÖµµÄÎÊÌâ

ÕâÀïÊÇGridView°ó¶¨µÄÒ»¸öÄ£°å, ÎÒÏëͨ¹ýÕâÀïµÄ "²é¿´ÏêÇé", Ìøתµ½Ò»¸ö°üº¬DetailsView
µÄÒ³Ãæ. È»ºó¾Í»áÏÔʾÏàÓ¦µÄÐÅÏ¢.
°üº¬DetailsViewµÄÒ³Ãæ¸ù¾ÝIDÖµ°ó¶¨Êý¾Ý
°üº¬GridViewµÄÒ³ÃæµÄµÚÒ»ÁÐÊÇID,ÒѾ­Òþ²Ø.
HTML code:
<asp:TemplateField HeaderText="ÐÞ¸ÄÓû§">
......

ÎâÀÏʦÔÚÂ𣿠ÎÊÒ»¸öasp ´«²ÎÊýµÄÎÊÌâ

dim idi=request.QueryString("id")
set rs=server.createobject("adodb.recordset")




rs.open"select * from fang where id=194",conn,1,1
%>


ÎÒÕâ¸ö²éѯÈçºÎд°¡

<%

dim idi=request.QueryString("id")
set rs=s ......
×ܼǼÊý:1883; ×ÜÒ³Êý:314; ÿҳ6 Ìõ; Ê×Ò³ ÉÏÒ»Ò³ [305] [306] [307] [308] [309] [310] [311] [312] [313] 314  ÏÂÒ»Ò³ βҳ
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ