ͨ¹ýÏîĿѧ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.NET»º´æÖеÄÊý¾ÝÊDz»Îȶ¨µÄ£¬²»»á±»ÓÀ¾ÃµØ´æ´¢£¬¿ÉÄÜ»áÓÉÓÚÒÔÏÂÔÒòÖ®Ò»¶ø´Ó»º´æÖб»×Ô¶¯ÒƳý£º
1) »º´æÂúÁË
2) »º´æÏîÒѾ¹ýÆÚ
3) »º´æÒÀÀµµÄÏî¸Ä±äÁË
+++ ³ýÁË¿ÉÒÔ×Ô¶¯ÒƳý»º´æÏîÍ⣬Äã¿ÉÒÔÏÔʾÒƳý»º´æÏî¡£ÁíÍ⣬µ±ÄãÓÃInsert·½·¨ºÍAdd·½·¨Ïò»º´æÖÐÌí¼ÓµÄ»º´æÏîÒѾ´æÔÚʱ£¬ÄÇô£¬ÔÀ´µÄ»º´æÏ±»×Ô¶¯É¾³ý¡ ......
Dim FilePath,FileName
Set ObjFileStream = Server.CreateObject("ADODB.Stream")
ObjFileStream.Type = 1
ObjFileStream.Mode = 3
ObjFileStream.open
ObjFileStream.LoadfromFile FilePath&"\"&FileName&".doc"
ObjFileStream.Position = 0
response.binarywrite  ......
ʹÓÃDreamweaver²âÊÔÁ¬½Ó³É¹¦£¬µ«ÊÇIISÀïÃæÔËÐÐÈ´×ÜÊÇ´íÎó°Ù³ö£¬¿´ÁËÏÂÃæÕâƪ²©ÎÄÎÊÌâ²ÅµÃÒÔ½â¾ö¡¢¡¢¡¢
Ò»°ãÇé¿öÏÂasp¿ÉÒÔÕý³£ÔËÐÐ,µ«Ö»ÒªÁ¬½ÓÊý¾Ý¿â¾ÍÌáʾ,Microsoft JET Database Engine ´íÎó
'80004005',ÎҵĵçÄÔÒòΪÓÃÅú´¦ÀíÇåÀíÎļþ,ËùÒÔ²»ÄÜÔËÐÐÁË£¬ Ö»
1.²é¿´Êý¾Ý¿âÁ¬½ÓÓï¾äûÓз¢ÏÖ´íÎó£»
2.²é¿´Îļþ¼ÐµÄȨÏÞÒÑ ......
Ç°¼¸ÌìΪÖÆ×÷Ò»¸öÍøÕ¾£¬ÐèÒª´ÓACCESSתÖÁSQLSERVER£¬´ÓÍøÕ¾Éϲ鿴Á˺ܶàµÄ×ÊÁÏ£¬µ«¾õµÃûÓÐÒ»¸öÄܹ»È«Ã渲¸ÇÒªµãµÄ£¬ËùÒÔÎÒ×ܽáһϣ¬Ë³±ã
¸ø³öһЩ¾Ñé¡£
Ê×ÏÈÈç¹ûÒ»¿ªÊ¼¾ÍÐèÒªÖÆ×÷SQLSERVERµÄÍøÕ¾£¬ÄÇô×îºÃ½«ÄãµÄ°®»ú×°ÉÏWINDOWS2000»òÕß2003ÕâÑùµÄSERVER°æ£¬ÕâÑùµÄ°æ±¾ÊÇÖ§³Ö
SQLSERVERÕýʽ ......
'SQL·À×¢È뺯Êý£¬µ÷Ó÷½·¨£¬ÔÚÐèÒª·À×¢ÈëµÄµØ·½Ìæ»»ÒÔÇ°µÄrequest("XXXX")ΪSafeRequest("XXXX")
'www.yongfa365.com
Function
SafeRequest(ParaValue)
ParaValue =
Trim
(
Request
(Pa ......