First, i tried it on my computer, WINDOWS2000 Professional, no IIS.
Than, I tried it on the University's server, and i don't know the configuration of it. Maybe the server doesnot support fancy things like ASP.
Bottom line: if i want to try the effect of it on my computer, how should I configurate my computer. Do i need to install IIS? Hope to hear from you soon.
First when you want to run ASP you must have IIS work properly. ASP means Active Server Page, You don't have server, how can it run? Then you must create a virtual directory associate with your physical directory(absolute path) in IIS console. Put your .asp file and .mdb file in that directory. Create a global.asa file to holder the global variable such as session variable. use IE to run the asp. URL like http://Severname/Virtual Directory/Filename.asp. I didn't run your code, but if you got every thing above works properly. you will get it. Good luck.
问题就出在这了,你没有ASP的运行环境.可以这样再试一下:
1.如想RUN在IIS WEB SERVER上,你的系统环境要求是WIN 2000 SERVER 或WIN 2000 ADVANCE SERVER.把你的有关FILES放在新建的FOLDER下,然后START>PROGRAMMS>ADMINISTRATIVE TOOLS>INTERNET SERVICE ANMAGER, 可以用现成的DEFAULT SITE(PORT 80),然后把HOME DIRECTORY 指到新建的FOLDER下,TYPE HTTP://LOCALHOST/XXXX.ASP, WHERE XXXX.ASP IS THE PAGE NAME.
2.在WIN 98 下,你可以安装MS PERSONAL WEB SERVER( PWS MAY GET FROM MICROSOFT.COM),其它的和上面一样CONFIGURE.
如再报错,把报错的描述COPY给我看.
With the help of a friend, i think i got it finally. 渔歌 is right, Thank you.
I also thank everybody who helped me on this question and who regarded this question.