dastonecutters
Member
- Joined
- May 27, 2004
- Messages
- 107
- Gender
- Male
- HSC
- 2004
hey people could someone help me with this SQL string
it says there is a syntax error
("UPDATE PersonInfo SET (FirstName = '{1}'), (PhoneNum = '{2}'), (Number = '{3}'), (Adress = '{4}'), (Suburb = '{5}'), (Postcode = '{6}') Where (LastName = '{0}')", LastName, FirstName, PhoneNum, Number, Adress, Suburb, PostCode)
its all spelt properly and the connection to the db is correct
it says there is a syntax error
("UPDATE PersonInfo SET (FirstName = '{1}'), (PhoneNum = '{2}'), (Number = '{3}'), (Adress = '{4}'), (Suburb = '{5}'), (Postcode = '{6}') Where (LastName = '{0}')", LastName, FirstName, PhoneNum, Number, Adress, Suburb, PostCode)
its all spelt properly and the connection to the db is correct