ͨ¹ýÏîĿѧweb¿ª·¢£ºHTML and ASP µÚ1Ìì
Ç°ÑÔ£º
²»ÉÙÈ˶¼ÍƳçѧϰ±à³Ì×î¼Ñ·½Ê½ÊÇÔÚʵ¼ÊÏîÄ¿ÖÐÄ¥Á·£¬Í¨¹ý½â¾öÏîÄ¿ÖеÄÒ»¸ö¸öʵ¼ÊÎÊÌ⽫Ïà¹ØµÄ֪ʶµãѧÒÔÖÂÓá£×÷Ϊ¸Õ¸ÕÂõÉϱà³Ì/web¿ª·¢×Ôѧ֮·µÄÐÂÊÖ£¬ÎÒ±ã´òË㽫¸Ãѧϰ·½Ê½¼ÓÒÔʵ¼ù£¬²¢Í¨¹ý²©¿Íƽ̨¼Ç¼×Ô¼ºµÄѧϰµãµÎ¡£
ÎҵĵÚÒ»¸öʵ¼ùÏîÄ¿±ãÊÇÁôÑ԰壬֮ËùÒÔÑ¡ÔñASP+AccessÊÇÒòΪ¼òµ¥Ò×Óã¬Èç¹ûÒ»ÇÐ˳Àû´ýÉÏÊÖºó¿ÉÄܻῼÂDzÉÓÃÆäËû½â¾ö·½°¸Ìæ´ú»òÍê³ÉºóÆÚ¿ª·¢¡£
1, Page Layout Ò³Ãæ¿ò¼Ü
1.1, Fieldset
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<TITLE> webcms </TITLE>
<META NAME="web version of case management system" CONTENT="">
<META http-equiv="Content-Type" content="text/html; charset=gb2312">
</HEAD>
<BODY>
<fieldset>
<legend>fieldset1</legend>
<form>
<label>lable1: <input type="text" /></label>
</form>
</fieldset>
</BODY>
</HTML>
ÎÊÌ⣺ÈçºÎ¿ØÖÆFieldset±ß¿ò³¤¿í£¿£¨ÈçºÎ¿ØÖÆÎı¾ÊäÈë¿ò³¤¿í£©
½â¾ö£ºÓÃCSS¿ØÖÆ
<fieldset style="width:330; height:30">
ÎÊÌ⣺ÈçºÎÈÃÁ½Ì×Fieldset²¢ÁгöÏÖ£¿
½â¾ö£ºÍ¨¹ýHTML±í¸ñ
<table>
<tr>
<td>
<fieldset>
<legend>fieldset1</legend>
<form>
<label>lable1: <input type="text" /></label>
</form>
</fieldset>
</td>
<td>
<fieldset>
<legend>fieldset2</legend>
<form>
<label>lable2: <input type="text" /></label>
</form>
</fieldset>
</td>
</tr>
</table>
1.2 Text Fields & Textarea Îı¾Óò
ÎÊÌ⣺³ýÁË<br>»»ÐзûÍ⻹ÓÐÆäËûʲô·½Ê½Äܹ»ÈÃText»òObject»»ÐУ¿
½â¾ö£ºÍ¨¹ýHTML×Ô¶¨ÒåÁбí
<form>
<dl>
<dt><label>±êÌâ: <input type="text" style="width:483"></label></dt>
<dt><label>ÄÚÈÝ: <textarea rows="20" cols="66" style="vertical-align:top" mce_
Ïà¹ØÎĵµ£º
Õ⼸ÌìºÃ¶àÈËÎÊÎÒÈçºÎÔÚasp³ÌÐòÖпØÖÆÉãÏñÍ·È¥×¥ÅÄÕÕƬ£¬asp¼¼Êõ»¹ÊÇ99ÄêµÄʱºò¿´¹ýÒ»µãµã£¬Ôç¾Í×ÅÃ×·¹³ÔÁË£¬²»¹ý¼ÈÈ»ÓÐÈËÎÊ£¬ÄǾÍÊÇ¿´µÃÆðÔÛ£¬»¨ÁËÒ»¸öÍíÉϵÄʱ¼ä°Ñasp³ÌÐòµ÷ÓÃÉãÏñÍ·ÅÄÕÕµÄÎÊÌâ¸ã¶¨ÁË£¬ÏּǼÈçÏ£¬ÈÃÓÐÀàËÆÐèÇóµÄͬѧ¿ÉÒÔÉÙ×ßЩÍä·¡£
Óõ½µÄ¼¼Êõ£º
1.asp³ÌÐòÖÐ×÷base64±àÂëºÍ½âÂ룬ʹÓõÄÊÇmsxml×é¼þ£ ......
<!--#include file="conn.asp"-->
<%
if request.Form("username")="" or request.form("password")="" then
response.Write("<script>alert('ÄúºÃ£¬²»ÄÜΪ¿Õ
');location.href='index.html';</script>")
end if
%>
<%
di ......
ASPϵÁк¯Êý´óÈ«-ÍøÉÏÊÕ¼¯µÄһЩASPº¯Êý¼°±í´ïʽ
ASPº¯Êý
´óÈ«¡¡
ASPº¯ÊýÓëVBSCRIPTÀàËÆ£¬ÒÔϾÙһЩ³£Óõĺ¯Êý¡¡
¡¡
Array()¡¡
¡¡
º¯Êý·µ»ØÒ»¸öÊý×é¡¡
¡¡
±í´ïʽ Array(list)¡¡
¡¡
ÔÊÐíÊý¾ÝÀàÐÍ: ×Ö·û£¬Êý×Ö¾ù¿É¡¡
¡¡
ʵÀý£º <%¡¡
¡¡
Dim
myArray()¡¡
¡¡
For i = 1 to 7¡¡
¡¡
Redim Preser ......
×î½üдվÄÚËÑË÷£¬ËùÒÔÑо¿ÁËÒ»ÏÂËã·¨£¬¸ÃËã·¨µÄÔÀíÈçͼÏÔʾ¡£
ÒÔÏÂÊÇÒ»¸öÓÃaspдµÄ¼òµ¥µÄ·Ö´Ê³ÌÐòÖ÷ÒªµÄ´úÂ룬´Ê¿âÎÒÒѾÓÃaccess½¨Á¢ºÃÁË¡£
Èç¹ûҪעÖØЧÂÊ£¬MarLenµÄÑ¡È¡ºÜÊÇÖØÒª£¬·ñÔòЧÂÊ»áÊ®·ÖµÍÏ£¬ÕâÀïMarLenÎÒÑ¡È¡µÄÊÇ5¡£
dim faword : faword = ""
do while (len(fword) > 0)
tword = left(fwor ......
ASPÉú³É¾²Ì¬ÍøÒ³µÄ¶àÖÖ·½·¨
ÊÕ²Ø
ʹÓÃFSOÉú³É
<%
'ʹÓÃFSOÉú³É
Set fs = CreateObject("Scripting.FileSystemObject")
NewFile=Server.MapPath("ud03/fso.htm")
'н¨ ......