Escape some special characters
Hi all,
I want to search the word below from the mysql database. But that word has some special characters like '
So i've written a code for search it. but it doesn't work, because there are some special characters. this is the code.
da = New MySqlDataAdapter("Select * from fixedbasics where LType='" & Trim(ComboBox1.Text) & "'", con)
t,a'wd¾'iS - This is the word, i want to search by an combobox.
can you help me to correct this code.
Thanks
|