473,414 Members | 1,691 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,414 software developers and data experts.

Incremental search

mp
Hi,

I need help in following...

I have used:
Visual Studio 2002 or 2003 - C#
Access DataBase
ADO connection

I am looking for example or directions of incremental search.
--------------------------------------------------
I would like to set a incremental search for example in dataGrid.
When user put A in edit box in dataGrid should be listed all contents of db
started with letter A.
When user put AB should be listed all contents started wit AB etc
Example: User put abandon and get:
....
abandoned napusten
abandoned napustene
abandoned napusteno
abandoned nezbrinut
abandoned nezbrinutu
abandoned ostavljen
abandoned ozloglasen
abandoned raskalasen
abandoned raspusten
abandoned child napusteno dijete
abandoned land napusteno zemljiste
abandoning napustanje
abandonment napustanje
abandonment napustenost
abandonment neusiljenost
abandonment odricanje
abandonment odustajanje od
abandonment ostavljanje
abandonment prepustanje
....

How we can do that with C#, ms access and VS?

Thanks
Nov 16 '05 #1
3 2183
Is "abandoned napusten" and "abandoned napustene" contained in a single
column in the db.
If they are then you could do
SELECT ColumnName FROM TableName WHERE ColumnName LIKE '%abandon%'
HTH
JB
PS
This will work in SQL Server, the syntax might be slightly different for
access.

"mp" <my***@volja.net> wrote in message
news:eP**************@TK2MSFTNGP11.phx.gbl...
Hi,

I need help in following...

I have used:
Visual Studio 2002 or 2003 - C#
Access DataBase
ADO connection

I am looking for example or directions of incremental search.
--------------------------------------------------
I would like to set a incremental search for example in dataGrid.
When user put A in edit box in dataGrid should be listed all contents of db started with letter A.
When user put AB should be listed all contents started wit AB etc
Example: User put abandon and get:
...
abandoned napusten
abandoned napustene
abandoned napusteno
abandoned nezbrinut
abandoned nezbrinutu
abandoned ostavljen
abandoned ozloglasen
abandoned raskalasen
abandoned raspusten
abandoned child napusteno dijete
abandoned land napusteno zemljiste
abandoning napustanje
abandonment napustanje
abandonment napustenost
abandonment neusiljenost
abandonment odricanje
abandonment odustajanje od
abandonment ostavljanje
abandonment prepustanje
...

How we can do that with C#, ms access and VS?

Thanks

Nov 16 '05 #2
mp
No, there are two columns.

English Croatian
----------------------------
abandoned napusten
abandoned napustene

Thanks

"John Baro" <jo***@NixSpaMiprimus.com.au.com.au> wrote in message
news:2h************@uni-berlin.de...
Is "abandoned napusten" and "abandoned napustene" contained in a single
column in the db.
If they are then you could do
SELECT ColumnName FROM TableName WHERE ColumnName LIKE '%abandon%'
HTH
JB
PS
This will work in SQL Server, the syntax might be slightly different for
access.

"mp" <my***@volja.net> wrote in message
news:eP**************@TK2MSFTNGP11.phx.gbl...
Hi,

I need help in following...

I have used:
Visual Studio 2002 or 2003 - C#
Access DataBase
ADO connection

I am looking for example or directions of incremental search.
--------------------------------------------------
I would like to set a incremental search for example in dataGrid.
When user put A in edit box in dataGrid should be listed all contents of

db
started with letter A.
When user put AB should be listed all contents started wit AB etc
Example: User put abandon and get:
...
abandoned napusten
abandoned napustene
abandoned napusteno
abandoned nezbrinut
abandoned nezbrinutu
abandoned ostavljen
abandoned ozloglasen
abandoned raskalasen
abandoned raspusten
abandoned child napusteno dijete
abandoned land napusteno zemljiste
abandoning napustanje
abandonment napustanje
abandonment napustenost
abandonment neusiljenost
abandonment odricanje
abandonment odustajanje od
abandonment ostavljanje
abandonment prepustanje
...

How we can do that with C#, ms access and VS?

Thanks


Nov 16 '05 #3
mp
I have try:

new OleDbCommand("SELECT * FROM MyTable WHERE ENGLESKI LIKE 'abandon'",
thisConnection)

I get only abandon listed, without abandoned etc.

I would like to get all words started with A for e.g. if I look for A

Thanks

"John Baro" <jo***@NixSpaMiprimus.com.au.com.au> wrote in message
news:2h************@uni-berlin.de...
Is "abandoned napusten" and "abandoned napustene" contained in a single
column in the db.
If they are then you could do
SELECT ColumnName FROM TableName WHERE ColumnName LIKE '%abandon%'
HTH
JB
PS
This will work in SQL Server, the syntax might be slightly different for
access.

"mp" <my***@volja.net> wrote in message
news:eP**************@TK2MSFTNGP11.phx.gbl...
Hi,

I need help in following...

I have used:
Visual Studio 2002 or 2003 - C#
Access DataBase
ADO connection

I am looking for example or directions of incremental search.
--------------------------------------------------
I would like to set a incremental search for example in dataGrid.
When user put A in edit box in dataGrid should be listed all contents of

db
started with letter A.
When user put AB should be listed all contents started wit AB etc
Example: User put abandon and get:
...
abandoned napusten
abandoned napustene
abandoned napusteno
abandoned nezbrinut
abandoned nezbrinutu
abandoned ostavljen
abandoned ozloglasen
abandoned raskalasen
abandoned raspusten
abandoned child napusteno dijete
abandoned land napusteno zemljiste
abandoning napustanje
abandonment napustanje
abandonment napustenost
abandonment neusiljenost
abandonment odricanje
abandonment odustajanje od
abandonment ostavljanje
abandonment prepustanje
...

How we can do that with C#, ms access and VS?

Thanks


Nov 16 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: Anurag | last post by:
Hello, I wish to find out the restore method for database that have been incrementally backed up and in the scenario where just the delta has been backed up. For example sake, let us assume the...
0
by: Colleyville Alan | last post by:
I have an app that looks up an id number and when a button is clicked, inputs the id # into a query. After running the query, I click a second button which grabs the client name rather than the id...
3
by: Colleyville Alan | last post by:
I have a incremental search box that has been working fine for a couple of months but is now acting up. This search box is from the cd that comes with Getz's book, so I did not write it and have...
2
by: mp | last post by:
Hi, Is posible to make incremental search of some databse (table) with c#. I am looking for some example. I know how to do that with Delphi, but I am new in C# .NET and I need your help. ...
1
by: mp | last post by:
Hi, I need help in following... I have used: Visual Studio 2002 or 2003 - C# Access DataBase ADO connection I am looking for example or directions of incremental search.
4
by: rh | last post by:
Hi, I'd like to add an incremental search to my windows form DataGrid that works like the one used in Windows Explorer. In Windows Explorer, when you type a character it jumps to the first item...
4
by: EdB | last post by:
Can anyone provide a sample of how to do an incremental key search on a combo box control?
5
by: Joel Matthew | last post by:
My boss was asking about incremental backups. I was scratching my head, thinking that the transaction log and a backup policy (script) for each record set (sorry about the archaic terminology)...
5
by: DFS | last post by:
This works pretty well, and it's easy, but it's not the ultimate solution. The kludgey part is it uses a hidden field to incrementally capture the keystrokes in the visible field (because executing...
0
by: Bob Greschke | last post by:
I want to create a search function on a Text() widget full of text like the incremental search in emacs -- if you type an "f" emacs goes to the first "f", type another "f" and it goes to the first...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.