打印本文 打印本文 关闭窗口 关闭窗口
将图片插入数据库并使用asp.net读取出来的正确方法
作者:武汉SEO闵涛  文章来源:敏韬网  点击数4151  更新时间:2009/4/23 10:45:58  文章录入:mintao  责任编辑:mintao
           if( disposing )

           {

              if (components != null)

              {

                  components.Dispose();

              }

           }

           base.Dispose( disposing );

       }

 

       #region Windows Form Designer generated code

       /// <summary>

       /// Required method for Designer support - do not modify

       /// the contents of this method with the code editor.

       /// </summary>

       private void InitializeComponent()

       {

           this.openFileDlg = new System.Windows.Forms.OpenFileDialog();

           this.filePath = new System.Windows.Forms.TextBox();

           this.browseButton = new System.Windows.Forms.Button();

           this.insertButton = new System.Windows.Forms.Button();

           this.SuspendLayout();

           //

           // openFileDlg

           //

           this.openFileDlg.DefaultExt = "*.jpg;*.gif;*.bmp;*.png";

           this.openFileDlg.Filter = "Image Files|*.jpg;*.gif;*.bmp;*.png|All Files|*.*";

           //

           // filePath

           //

           this.filePath.Location = new System.Drawing.Point(16, 16);

           this.filePath.Name = "filePath";

           this.filePath.ReadOnly = true;

           this.filePath.Size = new System.Drawing.Size(168, 20);

           this.filePath.TabIndex = 0;

           this.filePath.Text = "";

           //

           // browseButton

           //

           this.browseButton.Location = new System.Drawing.Point(200, 16);

           this.browseButton.Name = "browseButton";

           this.browseButton.TabIndex = 1;

           this.browseButton.Text = "&Browse";

           this.browseButton.Click += new System.EventHandler(this.browseButton_Click);

           //

           // insertButton

           //

           this.insertButton.Enabled = false;

           this.insertButton.Location = new System.Drawing.Point(200, 56);

           this.insertButton.Name = "insertButton";

           this.insertButton.TabIndex = 2;

           this.insertButton.Text = "&Insert";

           this.insertButton.Click += new System.EventHandler(this.insertButton_Click);

           //

           // MainForm

           //

           this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);

           this.ClientSize = new System.Drawing.Size(

上一页  [1] [2] [3] [4] [5] [6]  下一页

打印本文 打印本文 关闭窗口 关闭窗口