Solved

SEARCH TABLE incremental search

Posted on 2014-10-10
1
215 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

Technology Partners: 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…
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.

688 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