Hi,
Can I insert the back colour of a button into a database?
Such as the following, which does not work (Error: "Operator '+' is not defined for types 'String' and 'System.Drawing.Color')
Query = "INSERT INTO table1 (field) VALUES ('" + Me.day.BackColor + "')"
cmd = New OleDbCommand(Query, con)
cmd.ExecuteNonQuery()
Thanks
Can I insert the back colour of a button into a database?
Such as the following, which does not work (Error: "Operator '+' is not defined for types 'String' and 'System.Drawing.Color')
Query = "INSERT INTO table1 (field) VALUES ('" + Me.day.BackColor + "')"
cmd = New OleDbCommand(Query, con)
cmd.ExecuteNonQuery()
Thanks