private void tzjh(string zsnd,list list,string path)
bw.write("特殊說明/r/n");
bw.write("/r/n");
bw.write("/r/n");
for(int i=0;i"+aqx.get("hzmc")+"/r/n");
}bw.write("/r/n");
schoolsearch searcher = new schoolsearch();
for (int i=0;i/r/n");
bw.write(" /r/n");
bw.write(" /r/n");
bw.write(" /r/n");
bw.write(" /r/n");
bw.write("/r/n");
if (arecord.get("zxz") != null && !arecord.get("zxz").equals("")) else
bw.write("/r/n");
bw.write(" /r/n");
bw.write(""+tongzhaoinfo.gethjrs(xxdm,zsnd)+"/r/n");
for(int j=0;j/r/n");
if (arecord.get(aqx.get("dm")+"sum") != null && !arecord.get(aqx.get("dm")+"sum").equals("")) else
bw.write("/r/n");
}bw.write(" /r/n");
bw.write("/r/n");
}bw.write("/r/n");
if (i==0)
bw.write(""+arecord.get("zyxh")+"/r/n");
bw.write(""+arecord.get("zymc")+"/r/n");
bw.write("/r/n");
if (arecord.get("xz") != null && !arecord.get("xz").equals("")) else
bw.write("/r/n");
bw.write("/r/n");
if (arecord.get("jsyq").equals("1")) else
bw.write("/r/n");
bw.write(""+arecord.get("zszrs")+"/r/n");
for(int j=0;j/r/n");
if(!arecord.get("fnhrs").equals("2"))else
}elseelse
}bw.write("/r/n");
}if (i==0) else
bw.write("
/r/n");
}bw.write("/r/n");
}bw.write("/r/n");
bw.write("/r/n");
bw.write("/r/n");
bw.write("/r/n");
bw.write("/r/n");
bw.write("/r/n");
bw.write("/r/n");
bw.write("/r/n");
bw.write(" /r/n");
bw.write(" /r/n");
bw.write("/r/n");
bw.write("/r/n");
bw.write("/r/n");
bw.write(" /r/n");
bw.write("學校名稱(公章):/r/n");
bw.write("學校招生負責人:/r/n");
bw.write("郵編:/r/n");
bw.write("日期: 月 日/r/n");
bw.write("/r/n");
bw.write("/r/n");
bw.write(" /r/n");
bw.write(" /r/n");
bw.write("北京市教委批准意見(公章):/r/n");
bw.write("市中招辦審檢意見(公章):/r/n");
bw.write("/r/n");
bw.write("/r/n");
bw.newline();
bw.write("/r/n");
bw.write("/r/n");
bw.close();
}catch(exception e)}}
}
模組檔案生成html
content dim fso,f dim strtitle,strcontent,strout 建立檔案系統物件 set fso server.createobject scripting.filesystemobject strtitle 這是生成的網頁標題 strcontent 這是生成的網頁...
將ASPX檔案生成HTML檔案
方案1 傳入url返回網頁的html url public static string geturltohtml string url get the response stream.system.io.stream respstream wresp.getresponsestream dim re...
使用ASP生成HTML檔案
使用asp生成html檔案 使用asp生成html檔案 共有兩個頁面index.htm是首頁.程式比較簡單,主要是用了asp裡的檔案操作物件。send.asp function chan time shijian 轉換日期時間函式 s year year shijian if len s year ...