4
Answers

Saving ' character to access db

Ask a question
yokzu

yokzu

15y
2.3k
1
Hi.
I am using access(2003) db and there is a column that has "text" properties. I am trying to add a text with ( ' ) but I am getting unhandled error. How can i do that?

...
            OleDbCommand cmd = new OleDbCommand(query,bag);
            bag.Open();
            cmd.ExecuteNonQuery();

Answers (4)