?
Solved

SEARCH TABLE incremental search

Posted on 2014-10-10
1
Medium Priority
?
218 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 2000 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

Well, all of us have seen the multiple EXCEL.EXE's in task manager that won't die even if you call the .close, .dispose methods. Try this method to kill any excels in memory. You can copy the kill function to create a check function and replace the …
It’s quite interesting for me as I worked with Excel using vb.net for some time. Here are some topics which I know want to share with others whom this might help. First of all if you are working with Excel then you need to Download the Following …
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …
This tutorial will teach you the special effect of super speed similar to the fictional character Wally West aka "The Flash" After Shake : http://www.videocopilot.net/presets/after_shake/ All lightning effects with instructions : http://www.mediaf…
Suggested Courses

771 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