ASP+上传文件语法

ASP+上传文件语法

这里有一个怎样用ASP+上传文件的非常简单例子 

选择上传文件:


 


Here is a more complex example, which enables you to upload a file, and then using the System.Drawing APIs 
to resize/crop the image, overlay a custom text message onto the image, and then save it back out to disk 
as a .jpg (note that this sample works with *any* browser). I've written this one in C# -- but you would 
obviously be able to use VB or JScript to do it as well:

<%@ Import Namespace="System.IO" %> 
<%@ Import Namespace="System.Drawing" %> 
<%@ Import Namespace="System.Drawing.Imaging" %>

Select File To Upload:


 
Image Width:

Image Height:

Text Caption:

Caption Size:  
14 
18 
26 
36 
48 
62 

 

 

你可能感兴趣的:(ASP+上传文件语法)