因本網站上傳圖片的需要
本程序主要功能有
(
(
(
(
(
在本程序中均加了相關注釋
後台程序
using System;
using System
using System
using System
using System
using System
using System
using System
using System
using System
using System
using System
using System
using System
using System
/// <summary>
/// FileUpload
/// FileUpload
/// FileUpload
/// FileUpload
/// FileUpload
/// FileUpload
/// FileUpload
/// FileUpload
/// FileInfo對象表示磁盤或網絡位置上的文件
/// </summary>
public partial class BackManagement_ImagesUpload : System
{
public string treePath =
public int imageW =
public int imageH =
protected void Page_Load(object sender
{
this
if (!Page
{
Label
TextBox
treePath = Server
TextBox
TextBox
}
}
protected void btnload_Click(object sender
{
//如果保存圖片的目錄不存在
treePath = Server
imageW = Convert
imageH = Convert
if (!File
{
System
}
if (!File
{
System
}
if (!File
From:http://tw.wingwit.com/Article/program/net/201311/12368.html