½â¾öASP²»ÄܸüÐÂ,Êý¾Ý¿â»ò¶ÔÏóΪֻ¶ÁµÄÎÊÌâ
×î½ü°ï±ðÈË´¦ÀíÏÂÊý¾Ý,·¢ÏÖÌí¼ÓÊý¾Ýʱ,¾ÍÌáʾ"ASP ²»ÄܸüС£Êý¾Ý¿â»ò¶ÔÏóΪֻ¶Á¡£",´ÓÍøÉÏÕÒÁË,ҲûÓнâ¾öÎÒµÄÎÊÌâ.
1¡¢·þÎñÆ÷µÄÊý¾ÝĿ¼mdbÎļþËùÔÚµÄĿ¼£¬ÊÇÖ»¶ÁµÄ
2¡¢Êý¾Ý¿âÔÚ±¾µØµÄȨÏÞ£¬È¥Ö»¶ÁȨÏÞ£¬ÔÙÉÏ´«
3¡¢ÓпÉÄÜÄãÊÇ´ÓÖ»¶ÁĿ¼Òƶ¯µ½¿É¶ÁĿ¼µÄ£¬ËùÒÔÒ»¶¨²»ÄÜÕâôÓã¬ÏÈϵ½±¾µØ£¬ÔÙÉÏ´«£¬¿É½â¾ö´ËÀàÎÊÌâ¡£
"²»ÄܸüУ¬Êý¾Ý¿â»ò¶ÔÏóΪֻ¶Á"µÄ½â¾ö·½°¸
³õ½Ó´¥dreamweaver£¬ÔÚ×öÒ»¼òµ¥Ò³ÃæʵÏÖÏòaccessÊý¾Ý¿âдÊý¾Ýʱ£¬×ÜÊÇÓöµ½ÕâÑùÒ»´íÎó£º
Microsoft OLE DB Provider for ODBC Drivers ´íÎó '80004005'£¬[Microsoft][ODBC Microsoft Access Driver] ²»ÄܸüС£
Êý¾Ý¿â»ò¶ÔÏóΪֻ¶Á¡£µ÷ÊÔÁ˶à´Î¶¼²»Æð×÷Óá£
û°ì·¨£¬Ö»ÓаٶÈÒ»ÏÂÁË£¬ºÇºÇ¡£¿´À´Óöµ½ÎÒÕâÖÖÇé¿öµÄ»¹²»ÉÙ£¬Ò»²é¾ÍÓкܶàÏà¹ØÐÅÏ¢£¬×ÊÔ´¹²ÏíµÄºÃ´¦°¡£¬^_^
½â¾öµÄ·½·¨£º
Ôì³ÉÕâ¸öÔÒòµÄÎÊÌâ¾ÍÊÇÕ¾µãĿ¼µÄ·ÃÎÊȨÏÞÎÊÌ⣬ÒòΪÔÚʹÓÃAccessÊý¾Ý¿âµÄʱºò£¬ÒªÔÚͬĿ¼Éú³ÉÒ»¸ö.ldbÎļþ£¬Èç¹û´ËĿ¼ûÓÐдȨÏÞ»òÕßAccessÊý¾Ý¿â±¾ÉíûÓÐдµÄȨÏÞ£¬ÄÇô¾Í»á***Õâ¸ö´íÎó¡£ÓÉÓÚͨ¹ýä¯ÀÀÆ÷·ÃÎÊÍøÕ¾´ó¶¼Ê¹ÓÃInternetÄäÃû·ÃÎÊ£¬ÎÒÃÇÖ»ÐèÒªÔÚÊý¾Ý¿âµÄĿ¼ȨÏÞÀïÌí¼ÓÉÏ“IUSR_¼ÆËã»úÃû”Óû§¾Í¿ÉÒÔÁË£¬·Ö¸øËü“дÈë”ȨÏÞ¡£ÎÒ·¢ÏÖһЩÎÄÕÂ˵ÈüÓÈëEveryOneÓû§£¬²¢¸ø“дÈë”ȨÏÞ£¬Õâ¸ö̫ΣÏÕÁË¡£ÔÔòÉÏÊÇ´ËĿ¼¼ÓµÄ¿ÉÒÔдÈëÓû§¾ÍÊÇÔÚIISÖÐÅäÖõÄʱºò¼ÓµÄInternetÄäÃû·ÃÎÊÓû§£¬Ò»°ãĬÈÏΪ“IUSR_¼ÆËã»úÃû”£¬²»¹ýÈç¹ûÊÇÐéÄâÖ÷»ú¾ÍÒª×Ô¼º¿´¿´ÁË¡£
¾ßÌåµÄ²Ù×÷·½Ê½¾ÍÊÇ£º
Êó±êÓÒ¼üµã»÷Êý¾Ý¿âËùÔÚĿ¼£¨»òÕßËüÉϼ¶Ä¿Â¼£¬µ«ÊÇ×¢ÒâÒªÄܹ»¼Ì³ÐȨÏÞ£©-¡µÑ¡Ôñ“¹²ÏíºÍ°²È«”-¡µÑ¡Ôñ“°²È«”Ñ¡Ï-¡µµã»÷“Ìí¼Ó”°´Å¥-¡µµã»÷“¸ß¼¶...”°´Å¥-¡µµã»÷“Á¢¼´²éÕÒ(N)”°´Å¥-¡µÕÒµ½Ç°×ºÎª“IUSR_”µÄÓû§Ãû£¨¸ñʽΪIUSR_¼ÆËã»úÃû£©-¡µÑ¡ÖдËÓû§£¬µã»÷È·¶¨-¡µÕâÑùÕâ¸öÓû§¾Í±»¼Ó½øÀ´ÁË-¡µÔÚ“InternetÀ´±öÕÊ»§”µÄȨÏÞ¿òÖУ¬³ýÁËĬÈϵĻ¹ÒªÑ¡ÖГдÈëȨÏÞ”-¡µ“Ó¦ÓÔ»òÕß“È·¶¨”¼´¿É¡£
Ïà¹ØÎĵµ£º
Çë¿´ÈçÏÂÔ´´úÂ룺
<%
'ÏòÊý¾Ý¿âдÈëÊý¾Ý
SUB writeData()
dim recCnt,i
dim fieldName1,fieldName2,fieldName3
dim conn
dim sqlStr,connStr
connStr="Provider=SQLOLEDB.1;Initial Catalog=myDatabase;Data Source=myhon;User Id=sa;PASSWORD="
set conn=Server.CreateObject("ADODB.Connection")
c ......
À¶ÑÀ»µµôÁË£¬ÕâÑùÒ»À´ ÊÖ»ú°²×°³ÌÐò±äµÃºÜ²»·½±ãÁË¡£Ò»¿ªÊ¼ÊÇÏÈ°ÑÒª°²×°µÄ³ÌÐòÒÔ¸½¼þµÄÐÎʽ·¢µ½ÓÊÏä ÔÙÔÚÊÖ»úÉÏÅäÖÃÓÊÏä ÈúóÏÂÔظ½¼þ°²×°£¬ÕâÑùËäÈ»½â¾öÁËÎÊÌâ µ«ÊÇ»¹ÊÇÓкܶ಻·½±ãµÄµØ·½¡£ ÓÚÊÇ ×Ô¼ºÏë´î½¨Ò»¸ö·þÎñÆ÷ Ö±½ÓʵÏÖÔÚÏß°²×°¡£Ç°ÌáÊÇÊÖ»úÖ§³Öwifi£¬¾ÍÊÇ˵ÐèÒªÊÖ»ú·ÃÎÊÄÚÍøµØÖ·£¬·ñÔòµÃ»° ¾Í±È½Ï ......
4.1 ³£ÓõÄHTML¿Ø¼þ
4.1.1 ±íµ¥¿Ø¼þ
ÓÃÓÚ½ÓÊÕ¿Í»§¶ËµÄÊäÈ룬²¢½«ÊäÈëµÄ½á¹ûÌá½»¸ø·þÎñÆ÷´¦Àí
1.HtmlForm¿Ø¼þ
ËùÓеÄWeb Form¿Ø¼þ±ØÐë°üº¬ÔÚÒ»¶ÔHtmlForm¿Ø¼þ±êÇ©ÖÐ
<Form
Id = "¿Ø¼þ±êʶ"
Runat = "Server"
Method = "Post | Get"
Action = "ÒªÖ´ÐÐ ......
ASPµÄDES¼ÓÃܽâÃÜ
2007-05-18 09:49
ÔÎÄ£ºhttp://hi.baidu.com/myfav/blog/item/3ebc58828edd79a30cf4d290.html
Ç°Á½Ììѧµ½¶Ô³ÆÃÜÂëDESËã·¨£¬È»ºó¾Í×Ô¼ºÇ×ÊÖдÁ˸öʵÏÖ³ÌÐò³öÀ´£¬ºÃ¶àµØ·½ÓõÃ×ÅÄÅ¡£ÕâÀïÊÇÓÃASPʵÏÖ£¬µ±È»Ò²¾ÍÊÇ¿ÉÒÔÒƵ½VBÀ²¡£¶®µÃÔõÑùдºóд³ÉʲôÓïÑÔ¶¼ÐÐÀ²£¬Ö»Òª¶®µÃÄÇÃÅÓïÑÔ¡£Èç¹ûÓÐÅóÓÑÏëÖªµÀ¾ßÌåD ......