display data item which is start from Perticular leter from database table in c# .net

5 pts.
Tags:
Access Database
C#
Microsoft Access
in c# .net (SELECT * FROM [tablename] where fristname LIKE 'k*') this query is not work with MSaccess database

Answer Wiki

Thanks. We'll let you know when a new response is added.

Is that query generating an error or it’s working but not giving you the desired results ?
Have you tried using ‘%’ as the wildcard instead of ‘*’ ?

<a href=”http://articles.techrepublic.com.com/5100-10878_11-6154704.html”>Here</a> is an interesting article about the wildcard characters when using MS Access (See # 8: Accommodate SQL conflicts).

You might also want to take a look at <a href=”http://msdn.microsoft.com/en-us/library/aa140104(office.10).aspx”>this</a> and/or <a href=”http://msdn.microsoft.com/en-us/library/bb208890.aspx”>this</a>

Hope this helps.

Discuss This Question:  

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following