473,473 Members | 1,523 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

dropped combobox

13 New Member
how can i see multiple items in a combobox without clicking on it???

i want to use combobox getting dynamic list from the database on text box text change event. i want to view the complete list as i type characters in the textbox. focus is on textbox but list is updated at every character entry. the complete list must be visible throught the process.
Sep 14 '07 #1
3 1271
dip_developer
648 Recognized Expert Contributor
how can i see multiple items in a combobox without clicking on it???

i want to use combobox getting dynamic list from the database on text box text change event. i want to view the complete list as i type characters in the textbox. focus is on textbox but list is updated at every character entry. the complete list must be visible throught the process.
first of all ....how can it be possible to see multiple items in a combobox without clicking it.....??? I am extremely confused..............

you can easily use a listbox for that.....

secondly ......
I guess you want to match the pattern of the textbox text with the database table field....you can have it with a sql quey......but without knowing your field type/text pattern/database /language nothing can be told...............
moreover in the textchanged event everytime you enter a character a sql query will be generated.........
so if you are creating a web application(as you did not mention in your question whether its a web or windows application) then the best practise would be to use AJAX........
Sep 14 '07 #2
summiyashaheen
13 New Member
i do not want ot use listbox as it takes more space
it is a desktop application
i have a text box n combobox and disabled text box. i enter itemcode in textbox, accordingly itemname must be shown in the combobox, the complete list should be displayed. list should be filtered with every other character inserted into text box, finally one itemname is left in the list, it is selected automatically and its price must be shown in disabled textbox. price is also saved in db. sql server db
Sep 14 '07 #3
dip_developer
648 Recognized Expert Contributor
i do not want ot use listbox as it takes more space
it is a desktop application
i have a text box n combobox and disabled text box. i enter itemcode in textbox, accordingly itemname must be shown in the combobox, the complete list should be displayed. list should be filtered with every other character inserted into text box, finally one itemname is left in the list, it is selected automatically and its price must be shown in disabled textbox. price is also saved in db. sql server db
so what is your problem??? do u want the full coding..?? its not possible here to give you the code.........try to execute exact sql query......and in every character entry in the textbox fire this query........bind your combobox.........but combobox will show only one item.....not the list
Sep 14 '07 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

13
by: Mr. B | last post by:
Here's the situation... You've a combobox with Items already added. Say they look like this (or even lines of text): 10-00-232 10-00-256 10-01-006 10-01-213 10-02-200
7
by: Nicolae Fieraru | last post by:
Hi All, I am trying to change the rowsource of a combobox when I click on it. I played with many events, associated with the form and the combobox, but still haven't figured out what is the way...
8
by: Zlatko Matić | last post by:
There is a form (single form) and a combobox. I want that current record of the form is adjusted according to selected value in the combobox. Cuurrent record should be the same as the value in the...
1
by: anonymous | last post by:
I've been trying to put a them, please help me out. Here's the major parts of my code: public Form1() { DataSet myDataSet = new DataSet("myDataSet"); DataTable testTable = new...
3
by: TT (Tom Tempelaere) | last post by:
Hay there, I'm writing my own DataGridComboBoxColumn because .NET 1.1 does not have one (I hope .NET 2.0 supplies one). I based it on this article:...
0
by: timbobd | last post by:
Using Visual Basic .NET 2003, I have created a combobox with custom code for "autocomplete" functionality and to trigger a DropDown event when the user starts typing. I want to do a database lookup...
6
by: dbuchanan | last post by:
VS2005 I've been reading all the help I can on the topic (MSDN, other) but I can't make sense of this. Desired behavior; The user is to choose from the displayed list of the databound combobox...
0
by: j2associates | last post by:
Hello all, When a combo box is in the dropped state and I move the mouse up and down within the list to highlight different rows, what message is being sent that I can trap by WndProc? Thanks in...
0
by: bbkm | last post by:
when i am doing dropped table reccovery step1- the tablespace should be in recovery mode is it rite step2 - the database should be in archivelog mode is it rite step-3 - identify the dropped table...
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
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
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: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.