OleDbCommand com = new OleDbCommand("update cus SET cus_name = ('" + textBox4.Text + "'),order=('"+textBox6.Text+"') WHERE no = ("+textBox5.Text+")", con);

its giving a syntax error

Recommended Answers

Did you bother to read either of the replies to this exact same question you posted?

Jump to Post

All 2 Replies

Closing. Please refer to the thread linked by Momerath.

@fashxfreak: Do not create multiple threads for a single question.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.21 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.