主题:path的疑问
我想用下面的语句实现单文件上传,
dim mypath as path
filename=mypath.getfilename(file1.value)
fullpath=mypath.combine(server.mappath("")&"\上传文件",filename)
file1.postedfile.saveas(fullpath)
可是报错path没有定义.请大家帮我给看一下是怎么回事
dim mypath as path
filename=mypath.getfilename(file1.value)
fullpath=mypath.combine(server.mappath("")&"\上传文件",filename)
file1.postedfile.saveas(fullpath)
可是报错path没有定义.请大家帮我给看一下是怎么回事