Solved

SEARCH TABLE incremental search

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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Suggested Solutions

This tutorial demonstrates one way to create an application that runs without any Forms but still has a GUI presence via an Icon in the System Tray. The magic lies in Inheriting from the ApplicationContext Class and passing that to Application.Ru…
Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

744 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now