when i try to write Code of Command update i get error in my code...
Code:CmdUpdate.Connection = con CmdUpdate.CommandText = "update Properties set PropertyName=' " & Me.txtpropertyname.Text & " '," & _ "pic1=' " & Me.PictureBox1.Image & " ' , path1=' " & Me.lblpic1.Text & " ', where PropertyID=" & _txtpropertyid.Text
the Error text which i faced is ...
So, How i can solve this Error task???Code:Operator '&' is not defined for types 'String' and 'System.Drawing.Image'




Reply With Quote