asp.net winform上传图片到服务器
using using using using using using using using
System; System.Drawing; System.Collections; http://doc.xuehai.netponentModel; System.Windows.Forms; http://doc.xuehai.net; System.Text; System.IO;
namespace UploadFile { public class Form1 : System.Windows.Forms.Form { private http://doc.xuehai.netbel label1; private http://doc.xuehai.netbel label2; private System.Windows.Forms.Button button1; private http://doc.xuehai.netbel label3; private System.Windows.Forms.Button button2; private System.Windows.Forms.TextBox txtFileName; private System.Windows.Forms.TextBox txtServerPath; private System.Windows.Forms.LinkLabel linkLabel1; private http://doc.xuehai.netponentModel.Container components = null; public Form1() { InitializeComponent(); } protected override void Dispose( bool disposing ) { if( disposing ) { if (components != null) { components.Dispose(); } } base.Dispose( disposing ); } #region Windows Form Designer generated code private void InitializeComponent() {