Access database and c#
Hi everyone!
I have one problem so I hope someone can help me... I have access DataBase and i write in it from c#, i have search function that fill dataGrid from the dataBase from oleDbDataAdapter... the problem is in the SelectCommandText if I wrote "Select * from tblStudent where Name like '"+textBox1.Text+"';" it works fine... but if i put * in the after key word it doesnt work... and if I create query in access and put * after key word it works fine to... so can anyone help me?? I hope you understand me...
select * from tblStudent where Name like 'mike*';
works from access query but doesnt work from c# code...
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.

Aleksandar IlioskiRank #9,295 · 208 reputationPosted Apr 4, 2009, 12:36 PM EDT