ASPÒ»¾ä»°ÇáËÉ»ñÈ¡ÓòÉϵÄÓû§Ãû
·Ï»°ÉÙ˵,¼û´úÂë
<%=request.ServerVariables("LOGON_USER")%>
Ê×ÏÈIISËùÔڵķþÎñÆ÷Òª¼ÓÈëÓò,Æä´ÎÊÇIIS·þÎñÆ÷µÄÉèÖÃ.¼ûͼ1
ͼ2
·þÎñÆ÷ÉèÖúúó, IISËùÔڵķþÎñÆ÷ʹÓÃ
<%=request.ServerVariables("LOGON_USER")%>
¾ÍÄÜ»ñÈ¡µ½ÓòÃû³ÆºÍÓû§ÃûÁË.
Èç¹û·ÃÎÊÕßûÓмÓÈëÓò,»áÌáʾµÇ¼,ÈçÏÂͼ.ÊäÈëÓòÉϵÄÓû§ÃûºÍÃÜÂëÒ²ÄÜ·ÃÎÊ
Ïà¹ØÎĵµ£º
<%
'ÒÔϲ¿·ÖÊÇÑéÖ¤Ìá½»µÄpageÊÇ·ñΪºÏ·¨µÄ²ÎÊý
'Õⲿ·Ö×îºÃÅжÏÒ»ÏÂÌá½»µÄ²ÎÊýÊÇ·ñΪÊýÖµ×Ö·û
dim page
page=Trim(request("page"))
If page="" Then
page=1
Elseif CInt(page)<=0 then
page=1
else
page=CInt(page)
End If
'½øÐвéѯ£¬È¡³öÒªÏÔʾµÄ¼Ç¼
str=rs1("content")
'°Ñ³ö ......
<Html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<meta name="GENERATOR" content="Microsoft FrontPage 5.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<title>Éú³ÉWordÎĵµ</title>
</head>
<script ......
Ç°Á½Ì죬¿Í»§ÐèÒªÌí¼ÓÏÂÀ²Ëµ¥£¬ÎÒÔεĺܣ¬ºÜ¼òµ¥µÄÒ»¸öÎÊÌâ°ÑÎÒÓÕµ¼ÁËÁ½ÈýÌ죬ºóÀ´ÐÑÎò¹ýÀ´£¬ÕæÏë´ò×Ô¼º¡£
֮ǰÎÒҲʹÓùýdivÌ×divµÄ·½·¨£¬Ö»Òª¿ØÖÆËûÃǵÄλÖþͿÉÒÔÁË£¬µ«Õâ´ÎÎÒûÓУ¬Ê¹ÓõÄÔÚ±í¸ñʽÌ×div£¬×Ô¼º×ÁÄ¥ÁË°ëÌ죬ÒѾÍü¼ÇÁËdivËùÏÔʾµÄÊÇÏà¶Ô ......
Asp²Ù×÷DTS½øÐдú²ÎÊýµÄÊý¾Ýµ¼Èëµ¼³ö
ÄêÇ°½ÓÁËÒ»¸öСÏîÄ¿,ÆäÖÐÒ»²¿·ÖÊǽ«sqlÖеÄÊý¾Ý½øÐÐÓÐÑ¡ÔñµÄµ¼³öµ½Ò»¸ömdbÖС£
ÕâЩÊÇÍêÈ«¿ÉÒÔͨ¹ýaspµÃsqlÓï¾ä½øÐвÙ×÷µÄ£¬µ«ÊÇ»¹ÊÇÏë°ÑÖ÷Òªµ¼³öµÄÈÎÎñ½»¸øsql serverÈ¥×ö£¬aspÖ÷ÒªÊǵ÷¶¯Õâ¸ö³ÌÐò¶øÒÑ¡£
Ïëµ½ÒÔÇ°×ö¹ýµÄ¶«Î÷£¬¾õµÃʵÏÖÆðÀ´²¢²»ÄÑ£¬Ö»ÊÇÒ»¸ö²ÎÊýµÄÎÊÌâ¡£
¿ªÊ¼ÊµÏÖ£ ......
aspÖвåÈëÓëÐÞ¸ÄÊý¾ÝµÄ¼¸ÖÖ·½Ê½¡£ÎªÁË·½±ã½â˵£¬ÎÒÃÇÏȽ¨Á¢Ò»¸öÃûΪtestµÄ±í£¬±íÄÚÖ»ÓÐÁ½¸öÊý¾Ý
Ïî:usernameºÍemail,·Ö±ðÓÃÀ´´æ´¢Óû§ÃûÓëÓÊÏäµØÖ·¡£
1.ÀûÓÃinsertÓï¾ä²åÈëÊý¾Ý£º
insertÊÇsqlÓï¾äµÄ»ù±¾Ö¸ÁîÖ®Ò»£¬ Ó÷¨ºÜ¼òµ¥£¬ÕâÀïÎÒÖ»½«Æä»ù±¾¸ñʽÁгö.
´úÂëÈçÏ£º
set conn=s ......