Most voted "combobox" questions
Combobox allows you to select an option from several (similar to a list box), however only the selected item is displayed by default (reducing the space of the occupied one on the screen). Use this tag for questions that are specific to this user interface control d/component, regardless of the technology used.
Learn more…163 questions
Sort by count of
-
1
votes1
answer638
viewsSave item in Combobox
I have a combobox with some items added via form, by the property Items (Collection). I wish I could leave it to the user to type new texts in this combobox, which in my case, is a combobox of…
-
1
votes1
answer5127
viewsCorrect method to get Datatable populated Combobox value
What is the right way to get the value of a ComboBox populated by a DataTable? I’m using the following code: private void ComboBox3_SelectedIndexChanged(object sender, EventArgs e) { Consulta_cidade…
-
1
votes0
answers84
viewsUpdate with textbox and combobox
I am unable to record my data when I write it in the textbox and when I choose the value in the combobox.. I don’t understand what’s wrong with it, can you check it out? Thank you Imports…
-
1
votes1
answer216
viewsHow to load Combobox in C#?
I have 2 Combobox: the 1st represents the provinces, the 2nd municipalities. When you click on Combobox 1 and select a province I want your municipalities to appear in Combobox 2.
-
1
votes1
answer88
viewsSet the Itemssource of a Combobox within an Itemtemplate
Hello, I have a Combobox inside the Itemtemplate of a Listbox, the items in that Listbox are defined from an Observablecollection in Viewmodel, and each item in that list is an object with a…
-
1
votes1
answer43
viewsCombobox Visual Studio Csharp
I’m complementing a system with two combobox In the comboBox1 the name of the folders shall appear for user selection, In the comboBox2 should appear the .exe which will be transferred to a…
-
1
votes1
answer235
viewsFill combobox, and pick up value menber Vb.net and mysql
I need to fill a combobox with my mysql database, and then take the value menber to enter in the database Att. I’m in need of help from a person who knows visual basic.net , I’m with a system, for a…
-
1
votes1
answer79
viewsItems not being updated
I am creating a (several) combobox at Runtime and trying to manually set a SelectedValue 'standard', but I realized that even manually setting a value that exists inside the combo nothing is…
-
1
votes3
answers1253
viewsHow to set the first value in the combo?
Guys, I need some help: I’m trying to set the first state in the combo, I’ve put Selected but without success. Can someone tell me what might be wrong, or something to help me solve. My code:…
-
1
votes0
answers46
viewscondition to show data in combobox
Galera is the following I have two forms, one of development registration and another of process registration, and in the process has a ComboBox where it is pulled all the projects that were…
-
1
votes2
answers1191
viewsCsharp Fill Combobox with query, but bring already selected the option saved in the bank
I have a product registration screen with a LOCAL Combobox. Product table has the LOCAL ID, called pro_local. And the local table the fields loc_cod and loc_descricao My combobox is filled with the…
-
1
votes0
answers51
viewsRead the Selectedvalue property of a Combobox with Livebindings
I need to recover the value of the property Selectedvalue of a Combobox that is connected to my table through Livebindings. I have seen suggestions to connect the Selectedvalue to the TAG property…
-
1
votes0
answers39
viewsFill in Combobox based on another
I’m designing a website in the Ruby on Rails language. I’m creating all of Javascript now. I have a javascript question in a Ruby application I have the following code: ajaxBar = (unity_id) ->…
-
1
votes1
answer1277
viewsCombobox search only items that match the typed
In a User Registration Form, I have a combobox Civil Status Registry (which loads data from an SQL table), when writing to combobox the system needs to go searching the data and presenting only…
-
1
votes0
answers825
viewsHow to take data from different tables and insert into a new
Good evening, I’m doing a job for a course subject and in it I have to work with three tables, in my case I use a table customer registration, a second table car registration and the third would be…
-
1
votes0
answers45
viewsHow popular a runtime combobox
As popular a combobox (Select) when clicking on another combobox, for example I have a combobox with 3 options when selecting an option it recharges the other with the options referring to the…
-
1
votes1
answer364
viewsCreate Radiogroup based on Combobox selection using INI, dynamically in Delphi
Context: With the use of a personal app made on Delphi-7, I have been adding new actions as needed in a TRadioGroup, but now contains many items (16), harming the usability of the application. What…
-
1
votes0
answers305
views -
1
votes1
answer1164
viewsHow to take a data from a selected html combobox item
Good morning, you guys. Guys, here’s the deal. I got two combobox! In the first combobox I have all the companies of the system. here everything ok. In the 2nd combobox I have all the affiliates of…
-
1
votes1
answer506
viewsFill in Combobox without repetitions
I’m trying to fill one ComboBox from a db, but the ComboBox is filled with many repeated items! OleDbConnection Con = new OleDbConnection(); Con.ConnectionString =…
-
1
votes1
answer401
views -
1
votes1
answer818
viewsCalling javascript function with combo
function SemAcao() { return false; } function Mostra(nome, modelo, preco) { var nom = document.getElementById("bolnome"); var foto = document.getElementById("bolimg"); var prec =…
-
1
votes0
answers253
viewshow to get the selected value in the combobox (h:Selectonemenu )?
<h:form> <div class="form-group"> <label>Categoria de Produto</label> <h:selectOneMenu value="#{produtoController.produto.categoriaProduto}" styleClass="form-control"…
-
1
votes1
answer1356
viewsPlace a combobox in a datagridview column
Using C#, with Entityframework and codefirst, I have the following classes in my models layer: public class Cliente { public int ClienteId { get; set; } public string Nome { get; set; } public…
-
1
votes1
answer145
viewsHow to transfer from one Combobox to another (C#)
The idea is, there is a Main Combobox, each with a customer from 4 different cities, I wanted to select a customer on Combobox, press the button and remove from this Combobox and insert in the…
-
1
votes2
answers131
viewsSelected combo component
I have a problem loading the screen with a selected combo item. I’ve tried with jQuery, angular and it didn’t work. I’ve researched other answers around here and it didn’t work any of the…
-
1
votes1
answer211
viewsHow to work with Foreign Keys in C# ASP . NET Core?
Good night, you guys. I am a beginner in C# ASP . NET Core and I am facing problems with Foreign Key. I need to popular a combobox with data from a database table. Next is my Seller model using…
-
1
votes1
answer291
viewsHow to load data into a combobox whenever registering new values
How do I make sure that each course registration is automatically updated the course combobox without having to close and open the application again? Ex: I register a course "Administration" and…
-
1
votes1
answer111
viewsPopular a Combobox from the selection of another Combobox
I really have no idea how to do this, but if this is really possible it would be very helpful to me, I tried in some ways but none of it worked I have a ComboBox cboBusca where I select what I want…
-
1
votes2
answers49
viewsC# How to get combobox value?
Hello, my friends! I am programming in C# and use Visual Studio 2019 to create an application in Forms. I have a combobox that I linked to a table using the Datasource property. When the user…
-
0
votes1
answer246
viewsHow to change a list view from a Combo on VB6
I made a form with a ListView and a ComboBox, my problem is that according to what is selected in ComboBox I have to change the data from ListView. For example: I have the ListView LETTERS (which is…
-
0
votes2
answers1220
viewsError povoar combobox - An unhandled Exception of type 'System.Invalidoperationexception' occurred in mscorlib.dll
This is a Cod. to fill a combobox with a list that will be populated by the insert event that will redeem a value from a textbox, and will cause the name selected in combobox1 not to appear in…
-
0
votes1
answer560
viewsHelp Dynamic Combo with javascript
I am doing some tests with PHP + Oracle and I have a doubt. I made a combo, which takes data from Oracle, and that controls a textfield. Only now I need to update one more textfield, but there is no…
-
0
votes0
answers33
viewsHow to develop a Combobox that updates due to what is written in C#itself
First the scenario: I am developing a C# system with the SQL Server database. At the moment I find myself with the following problem: I am developing a form of Sale, and in it I have a combobox…
-
0
votes0
answers54
viewsQuery from selection in comboboxes
I have four comboboxes populated with data from a database, using js. The user selects options in these 4 boxes and, from there, I want to do a query with the options chosen. How can I take these…
-
0
votes1
answer741
viewsHow to use a c# net combobox filter using SQL Server?
I need to improve on a project I’m doing in MVC, with SQL and I’ve done a combobox that takes the data from the database, but I need to create a page to filter data from the database. Ex: I have a…
-
0
votes0
answers185
viewsAdapt jComboBox Code with Autocomplete
Option 1: How can I adapt this code to my project? I created the Autocompletation class and then put it in my constructor: AutoCompletion.enable(yourComboBox); I dragged my combobox in the design…
-
0
votes1
answer858
viewsAssign selected item to Jcombobox
I have a problem where my jComboBox values are not being returned but the values in the bank are correct. I have a vehicle registration jFrame, which when triggered the search button, calls the…
-
0
votes1
answer53
viewsHow to make a Combobox with Gridview?
I’m trying to make a Combobox that then click is filled with a Gridview, I know it’s from Devexpress, today I use version 16.1. example:…
-
0
votes2
answers1509
viewsHow to add items in a dynamically Java combobox?
I have a project in netbeans that uses Java Swing for the interface. I have some data in MYSQL that I would like to show you as soon as the window is created. Anyway, how can I place items in a…
-
0
votes1
answer214
viewsDblookupcombobox Doubt - Delphi 6
Good morning. I’m using Delphi 6 and I’m having a question, I have a table of students linked to a table of disciplines, and these disciplines are displayed within a Dblookupcombobox, only when I…
-
0
votes1
answer349
views -
0
votes1
answer125
viewsCombobox brings only one Mysql table result (Nodejs + Javascript)
I am able to bring in the combobox only one value that is in the mysql table, I need to list the two items in the same combobox. It is appearing one in a combobox and the other just below. <div…
-
0
votes1
answer45
viewsMs access 2 querys for the same comboboxes
Good to all I am programming a database and I would like to have a kind of 3 querys. I’ll try to be as precise as I can. I have 2 combination boxes that are interconnected, in this specific case…
-
0
votes0
answers65
views -
0
votes3
answers322
viewshow to take the value of the option that was chosen?
I am a beginner in programming and I would like to know how to take the value of the selected option and put in a variable? for example, the user chooses 'Old'. and I save his choice in a variable…
-
0
votes1
answer68
viewsDoubt to Load Combobox from an account with the sub account
I made a select to fetch an account and upload the sub account and would like your opinion to see if this is how you do it code private void cbbConta_SelectedIndexChanged(object sender, EventArgs e)…
-
0
votes2
answers42
viewscombobox C#, Selectedtext vs Selecteditem.Tostring()
What’s the difference between the two? Can values be different if an error occurs because of this? Which takes up more memory? Apparently the two return the same value, but I would like to remove…
-
0
votes0
answers573
views -
0
votes1
answer584
views