set indir=luntan.cs //源
set outdir=lun.dll //目标
Set assemlies=System.dll,System.Data.dll,System.XML.dll,Sms.dll //引用
csc /t:library /out:%outdir% %indir% /r:%assemlies%
//csc是一个exe文件,在windows/Microsoft.net/framework/下,如果你的vs.net无法实现,就把csc改成你的exe所在
//的位置
asp.net编程有很大的自由性,它可以尽可能多的兼容各种语言,比如Java,VB,C#等等,所以一个网页内可以有不同的代码存在,不过最好不要太杂了,这样程序的可读性就不强了。