¶¯Ì¬ÍøÒ³ASPÓïÑÔ»ù´¡(3)
³£ÓõĽű¾ÓïÑÔÓÐ Javascript ºÍ VBscript ¡£
ʹÓÃÄÄÖÖÓïÑÔÐèÏÈÉ趨¡£ÈçÉϽڴúÂëÖеÄ<%@ LANGUAGE="JSCRIPT" ... %>¡£
Èç¹ûûÓÐÖ¸¶¨£¬ÏµÍ³¾Í»áʹÓà IIS ³ÌÐòÖ¸¶¨µÄ½Å±¾ÓïÑÔ¡£
VBscript Ó÷¨
VBscript Ò»°ã·ÅÔÚ <head> Óë </head> ÄÚµÄ <% ºÍ %> Ö®¼ä¡£
´úÂëµÄ×¢Ê͸ñʽһ°ãΪ <! µ¥ÐÐ×¢ÊÍ !> ºÍ <! -- ¶àÐÐ×¢ÊÍ -- > £¬×¢ÊÍÄÚÈÝÔÚÔËÐÐÒ³ÃæÖв»¿É¼û£¬ÔÚÔ´ÎļþÖпɼû¡£
ʵÀý£º
ÒÔÏÂΪÒýÓÃÄÚÈÝ£º
<%@LANGUAGE="VBSCRIPT" CODEPAGE="65001"%>
<!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/html; charset=utf-8" />
<title>½Å±¾ÓïÑÔ VBSCRIPT </title>
</head>
<body>
ÏÖÔÚµÄʱ¼äÊÇ£º
<! »ñȡϵͳµÄÈÕÆÚÓëʱ¼ä !>
<% =now() %>
<!--
ÕâÀïÓÃϵͳº¯Êý
now()
ÓÃÀ´»ñȡϵͳÈÕÆÚºÍʱ¼ä
-->
</body>
</html>
±¾ÎÄÁ´½Ó£ºhttp://www.oversteper.com/wprogram/asp/815.html
Ïà¹ØÎĵµ£º
1£¬ÔÚweb·þÎñÆ÷ÉÏ°²×°OracleÊý¾Ý¿â¿Í»§¶Ë£¬ÕâÊÇÁ¬½ÓOracleÊý¾Ý¿âµÄ»ù´¡£¨µ«£¬²»Ò»¶¨ÊDZØÐëµÄ£©¡£
2£¬ÔÚ¿Í»§¶ËµÄNet Manager ÖнøÐÐÅäÖ÷þÎñµÄÃû³Æ£¬ÅäÖÃÈçͼ£¨ÕâÒ»µã·Ç³£µÄÖØÒªÒÔºóµÄÁ´½ÓÈ«¶¼ÔÚÕâ¸ö·þÎñÃû³ÆµÄ»ù´¡ÉϽøÐеģ©
3£¬ASPÁ´½Ó·þÎñµÄÁ´½Ó×Ö·û´®ºÍ·½·¨ÈçÏ£º
<%
connstr= "Provider=MSDAORA.1;Password=***; ......
1.´íÎóÐÅÏ¢
Microsoft OLE DB Provider for ODBC Drivers (0x80004005)
[Microsoft][ODBC SQL Server Driver][DBNETLIB]SQL Server ²»´æÔÚ»ò·ÃÎʱ»¾Ü¾ø
ÔÒò£º
2005ÀïËƺõ²»Ö§³Ö“(local)”ºÍ“µã”½«Æä¸ÄΪ·þÎñÆ÷µÄÃû³Æ¡£
2000ÊÇ¿ÉÒԵġ£ËùÒÔ²»»á³öÏÖÕâÑùµÄÎÊÌâ¡£
2.´íÎóÐÅÏ¢
´íÎóÀàÐÍÒ»£º
Mi ......
<%
Function RemoveHTML( strText )
Dim TAGLIST
TAGLIST = ";!--;!DOCTYPE;A;ACRONYM;ADDRESS;APPLET;AREA;B;BASE;BASEFONT;" &_
&n ......
ÒõÑôÃá
¡¡¡¡´Ó½ñÌ쿪ʼÆ𣬻ù¶½É½½«ºÍ´ó¼ÒÒ»Æð½øÈëASP.net Öî¶à³ÌÐòµÄѧϰÖУ¬ÀÏʵ˵£¬.netµ½µ×ÊÇ·¨±¦»¹ÊÇÀ¬»ø£¬ÎÒÃÇÊÃÄ¿ÒÔ´ý¡£ÓÐÈκÎÎÊÌ⣬ÁªÂç»ù¶½É½ seaman@163.com
ʲôÊÇASP.net£¬ASP.netµÄ°²×°
¡¡¡¡1.1 ʲôÊÇASP.net
¡¡¡¡ASP.net ÊÇÒ»ÖÖ½¨Á¢ÔÚͨÓÃÓïÑÔÉϵijÌÐò¹¹¼Ü£¬Äܱ»ÓÃÓÚһ̨Web·þÎñÆ÷À´½¨Á¢Ç¿´óµÄWebÓ¦Óó ......