Solved

SEARCH TABLE incremental search

Posted on 2014-10-10
1
210 Views
Last Modified: 2014-10-16
incremental search
Hi Experts
I have a large customer table and I would to part text search like
I have filled a table with all the data called dtCUSTFull
every time  a key is pressed in a  textbox1
I would like to display all the customers.codes that has left part of the code same as textbox1.text
my code
codex = textbox1.text
codeLenx = Microsoft.VisualBasic.LEn(codex)
 
     Dim rows() As DataRow = dtCustFull.Select("Microsoft.VisualBasic.LEFT(ccode,codelenx)=codex)
please help
0
Comment
Question by:b001
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 20

Accepted Solution

by:
ElrondCT earned 500 total points
ID: 40374687
I've written an article about how to do this using a DataGridView:

http://www.experts-exchange.com/Programming/Languages/.NET/Visual_Basic.NET/A_2210-Progressive-search-in-DataGridView.html

If you define the DataGridView to use dtCustFull as its DataSource, that should do what you want.
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A while ago, I was working on a Windows Forms application and I needed a special label control with reflection (glass) effect to show some titles in a stylish way. I've always enjoyed working with graphics, but it's never too clever to re-invent …
Introduction As chip makers focus on adding processor cores over increasing clock speed, developers need to utilize the features of modern CPUs.  One of the ways we can do this is by implementing parallel algorithms in our software.   One recent…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…
Are you ready to implement Active Directory best practices without reading 300+ pages? You're in luck. In this webinar hosted by Skyport Systems, you gain insight into Microsoft's latest comprehensive guide, with tips on the best and easiest way…

733 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question