----------------------------------------------------------------------------------------------------------------------------------------------- ±¾ÎÄÌáʾ£º¡¶ÏòSQL ServerÊý¾Ý¿âÌí¼ÓͼƬºÍÎÄ×Ö(2)¡·ÊDZ¾Õ¾±à¼ÃÇΪ¹ã´óÍøÓѾ«Ñ¡µÄʵÓÃÎÄÕ£¬±¾ÎIJûÊöÁ˹ØÓÚÎÄÕµÄÏà¹ØÀíÂÛ£¬Ïà¶ÔÀ´Ëµ×¨ÒµÐÔÇ¿£¬µ«ÊDZ¾ÎÄÖ»ÊÇÕë¶ÔÓÚij¸öÎÊÌâÌá³öµÄ¼û½âÓëÂÛÊö£¬Î´±ØÄÜ·øÉäµ½Ïà¹ØÎÊÌâµÄ·½·½ÃæÃ棬ËùÒÔ±¾ÎÄ´¦ÀíÎÊÌâµÄ·½·¨½ö½öΪÄúÌṩһЩ²Î¿¼¡£¸ü¶àÎÊÌâÇë²éÔÄѧϰÖйúÍøÆäËûÀ¸Ä¿Å¶. -----------------------------------------------------------------------------------------------------------------------------------------------
Me.Label2.Size = New System.Drawing.Size(80, 20)
Me.Label2.TabIndex = 1
Me.Label2.Text = \"ͼƬ\"
\'
\'TextBox1
\'
Me.TextBox1.Location = New System.Drawing.Point(75, 16)
Me.TextBox1.Name = \"TextBox1\"
Me.TextBox1.Size = New System.Drawing.Size(173, 20)
Me.TextBox1.TabIndex = 2
Me.TextBox1.Text = \"\"
\'
\'PictureBox1
\'
Me.PictureBox1.Location = New System.Drawing.Point(68, 48)
Me.PictureBox1.Name = \"PictureBox1\"
Me.PictureBox1.Size = New System.Drawing.Size(376, 222)
Me.PictureBox1.TabIndex = 3
Me.PictureBox1.TabStop = False
\'
\'Button1
\'
Me.Button1.Location = New System.Drawing.Point(278, 13)
Me.Button1.Name = \"Button1\"
Me.Button1.Size = New System.Drawing.Size(96, 26)
Me.Button1.TabIndex = 4
Me.Button1.Text = \"ä¯ÀÀͼƬ…\"
\'
\'Button2
\'
Me.Button2.Location = New System.Drawing.Point(57, 277)
Me.Button2.Name = \"Button2\"
Me.Button2.Size = New System.Drawing.Size(100, 32)
Me.Button2.TabIndex = 5
Me.Button2.Text = \"Ìí¼Óµ½Êý¾Ý¿â\"
\'
\'SqlConnection1
\'
Me.SqlConnection1.ConnectionString = \"Data Source=.;Initial Catalog=mxh;User Id=sa;Password=;\"
\'
\'SqlCommand1
\'
Me.SqlCommand1.CommandText = \"dbo.[sp_InsertPhoto]\"
Me.SqlCommand1.CommandType = System.Data.CommandType.StoredProcedure
Me.SqlCommand1.Connection = Me.SqlConnection1
Me.SqlCommand1.Parameters.Add(New System.Data.SqlClient.SqlParameter(\"@RETURN_VALUE\", _
System.Data.SqlDbType.Int, 4, System.Data.ParameterDirection.ReturnValue, _
False, CType(10, Byte), CType(0, Byte), \"\", System.Data.DataRowVersion.Current, Nothing))
Me.SqlCommand1.Parameters.Add(New System.Data.SqlClient.SqlParameter(\"@name\", _
System.Data.SqlDbType.VarChar, 50))
Me.SqlCommand1.Parameters.Add(New System.Data.SqlClient.SqlParameter(\"@image\", _
System.Data.SqlDbType.VarBinary, 2147483647))
\'
\'Button3
\'
Me.Button3.Location = New System.Drawing.Point(265, 277)
Me.Button3.Name = \"Button3\"
Me.Button3.Size = New System.Drawing.Size(79, 32)
Me.Button3.TabIndex = 6
Me.Button3.Text = \"ÏÔʾ¼Ç¼\"
\'
\'Button4
\'
Me.Button4.Location = New System.Drawing.Point(362, 277)
Me.Button4.Name = \"Button4\"
Me.Button4.Size = New System.Drawing.Size(72, 32)
Me.Button4.TabIndex = 7
Me.Button4.Text = \"Í˳ö\"
\'
\'Button5
\'
Me.Button5.Location = New System.Drawing.Point(167, 277)
Me.Button5.Name = \"Button5\"
Me.Button5.Size = New System.Drawing.Size(85, 32)
Me.Button5.TabIndex = 8
Me.Button5.Text = \"ɾ³ý¸Ã¼Ç¼\"
\'
\'Form1
\'
Me.AutoScaleBaseSize = New System.Drawing.Size(5, 13)
Me.ClientSize = New System.Drawing.Size(491, 324)
Me.Controls.AddRange(New System.Windows.Forms.Control() {Me.PictureBox1, _
Me.Button5, Me.Button4, Me.Button3, Me.Button2, Me.Button1, Me.TextBox1, Me.Label1, Me.Label2})
Me.Name = \"Form1\" ±¾ÎÄÕ¸ü¶àÄÚÈÝ£º<<ÉÏÒ»Ò³ - 1 - 2 - 3 - 4 - ÏÂÒ»Ò³>>Êղص½£º[ÊղؼÐ] [°Ù¶ÈËѲØ] [ÐÂÀËViVi] [POCOÍøÕª] [ ºÍÑ¶ÍøÕª] [ºÃÅ¶ÍøÕª] [GoogleÊéÇ©] [YahooÊéÇ©] [ËѺüÍøÕª] [365KeyÍøÕª] [Ìì¼«ÍøÕª] [ÎÒÕª] [²©²ÉÍøÕª] [igooiÍøÕª] |