以下為引用的內容: <% '取得HTTP輸入的值并付值到HTOST中 host=lcase(request.servervariables("HTTP_HOST")) ‘開始條件跳轉 SELECT CASE host ' 如果HOST的值是code.CuoXIn.com/就選擇事件case"code.CuoXIn.com/"的命令 CASE "code.CuoXIn.com/" ' Below is the redirect command response.redirect "homepage/" CASE "www.CuoXIn.com" response.redirect "/" 'We use CASE ELSE to fix any other requests CASE ELSE response.redirect "/" END SELECT %> |
分享:實例解析ASP程序中輸出Excel文件在asp中利用excel的一個方法是將excel文件作為一個數據庫進行鏈接,然后的操作和對access數據庫操作類似。但是這個方法不是總能有用的,應為excel不是關系型的數據庫。對于一個固定格式,
新聞熱點
疑難解答