204 Topics

Member Avatar for
Member Avatar for akkbkht

I am preparing a CSharp based desktop app in VS 2019. I have 4 ComboBoxes. On the form load, the comboBox1 fetches folder names in root directory in D drive. The structure is Folder The sub folder Then sub folder then MS word documents in the 4th folder. For example, …

2
66
Member Avatar for geetajlo

Hi friends I want to refresh my combo box . i have even used the combobox.refresh() syntax but it does nothing! need help

Member Avatar for jeric_2
0
7K
Member Avatar for unearthed13

Hello all, I've actually seen a few posts floating around the web (most of which are rather old and none of which were solved) about the same question that I'm having which is this: I have a combobox that is populated with movies with a number corresponding to where it …

Member Avatar for jiiinaguipo
0
419
Member Avatar for alyssa.wilkins.77

Hello, I am trying to add a feature to a lab I am working on where I have to have a way to show images of the 20 pen widths the Easy Paint Lab can do. I am trying to use a ComboBox from Qt in order to do that. …

Member Avatar for mapsonyllaer
0
1K
Member Avatar for Papa_Don

Hi Group, I'm attempting to pull info from our database to populate a combo-box in VB.net (Visual Studio Express 2015). Here's my first attempt at the connection: Dim conn As New Oracle.DataAccess.Client.OracleConnection() conn.ConnectionString = oraDB From here I'm not sure how to pull the data into the combobox. I do …

Member Avatar for Papa_Don
0
1K
Member Avatar for Iamkenny

Hello. I'm new to programming and I'm using vb.net 2010 and I'm stuck with this problem. So here are the details, I have 2 tables in my database, a product table and a category table. In my product table I have product no, product description and category no. In the …

Member Avatar for Mai Phương
0
1K
Member Avatar for JustineAubrey

Hi, I'm trying to create cascading comboboxes, and my code isn't working. I've looked at other threads and I don't know why it isn't working properly. The first combo box displays System Names and the second combobox should populate the all Locations of that specific system chosen. When I run …

Member Avatar for Zahraa_1
0
320
Member Avatar for ajit.nayak

Dear all I have combox accumated with 3 perameter Grid Connected PV-SYS- Full Feed In Grid Connected PV-SYS with Electrical Appliance -Net Metering Grid Connected PV-SYS with Electrical appliance ,battery system -Net Metering Each combobox value contain images.I used picture box to dispaly images. How to display the image based …

Member Avatar for Reverend Jim
0
354
Member Avatar for Lethugs

Hi, Im trying to use a multi column combobox from this thread [Here](http://www.codeproject.com/Articles/8619/Flat-MultiColumn-Combobox-with-Autocomplete) Just wondering if there's a way to show Column header from its datasource (sql) Can't find a property to do this Thanks

Member Avatar for Lethugs
0
1K
Member Avatar for vegaseat

An example how to use Tkinter's OptionMenu() as a combobox to allow one year to be selected from an option list of let's say the past 15 years.

2
1K
Member Avatar for lefteris.gkinis

I have the following code in my web page <div class="RegFieldsCountry"> <ajaxToolkit:ComboBox ID="Country" runat="server" CssClass="RegComboEntry" TabIndex="8" Width="180" ValidationGroup="SetUserValGroup" AppendDataBoundItems="true" DropDownStyle="DropDown" ToolTip="Country Selection" BackColor="#C0C0C0" ValidateRequestMode="Enabled" EnableViewState="true" ListItemHoverCssClass="CountryHoverListItem"/> <asp:RequiredFieldValidator ID="RequiredRegComboValidator" runat="server" ControlToValidate="Country" ErrorMessage="Η επιλογή χώρας επιβάλλεται." ToolTip="Η επιλογή χώρας επιβάλλεται." ForeColor="red" ValidationGroup="SetUserValGroup" CssClass="RequiredValidator"/> </div> What I get from that is a ComboBox …

Member Avatar for BMXDad
0
495
Member Avatar for Praveen_10

I need to insert a cobobox value ,date value into database but am not sure if this is the method...i keep getting an exception saying 'Incorrect syntax near '@Numberpassengers'.' private void button1_Click(object sender, EventArgs e) { string c = ""; string s = ""; string d = ""; string t …

Member Avatar for Praveen_10
0
415
Member Avatar for Centorpe

I have two items which can be selected from two seperate comboboxes. I need to populate a 3rd combobox with range calculated from selection of first two. Default for this 3rd box must be 0 with plus and minus range. A little help would be much appreciated.

Member Avatar for Centorpe
0
249
Member Avatar for Praveen_10

I have not completed the code ...but why am i getting error inside while loop saying cannot convert string to int...when i am not converting string to int namespace book { public partial class car : Form { public car() { InitializeComponent(); } void FilCombo() { SqlConnection conn = new …

Member Avatar for Praveen_10
0
199
Member Avatar for kirtee2209

Hi. I have a Windows form and when it loads focus should be on a combo box. This works correctly but the visual indicator (dotted rectangle) does not appear on the combo box though it has focus. I can confirm that the focus is there as I am able to …

Member Avatar for kirtee2209
0
246
Member Avatar for jayesh.babu.140

I want to add one of the column in a database table as components in a combobox. How to do it? I am using visual studio 2012 and c#. Help me please. Thank you in advance.

Member Avatar for arunkumars
0
155
Member Avatar for JOSheaIV

Hello Everyone, Okay I have got probably one of the weirdest question you have seen in awhile. I have been working on a custom image selection form (much like a file selection, but I didn't like the default Microsoft one). This also includes me rebuilding a custom object, that references, …

Member Avatar for JOSheaIV
0
190
Member Avatar for asaidi

Hi i have 2 tables customer (cabinet_num which is integer) and cabinet (cabinet_num Autoincrement and cabinet_title) in my java i can display cabinet title to let the user choose a cabinet..but i want to collect the cainet_number in my customer table customet.cabinet package cabinet; import java.awt.BorderLayout; import java.awt.EventQueue; import javax.swing.JFrame; …

Member Avatar for mKorbel
0
298
Member Avatar for pirat4e

**I have a table with 4 columns = a(ID),b,c and d.By using LINQ, how can I calculate 'd'* 'b' / 'c' while changing 'a' with a combobox?And would it make any difference if it is a VIEW? is it a fair question? and do you need more information? **

Member Avatar for pritaeas
0
180
Member Avatar for lordcar

tables: T_THERA - is a transaction table Columns: ID - STRING MR - STRING ITEMCODE - STRING QTY - INT SIGNA - TEXT M_ITEMS - Masterfile of items Columns: ITEMCODE - STRING DESCRIPTION - STRING M_SIGNA - Masterfile of Signa Columns: SIGNACODE - String DESCRIPTION - String I have a …

Member Avatar for PerplexedB
0
271
Member Avatar for GagaCode

hi all; again i have a little bit wired problem here what i'm trying to achive here is that i would like to to a search query to search an employee and after that change the depatment and after that update the data into access database and as you can …

Member Avatar for arunkumars
0
304
Member Avatar for rtirak

I am currently confused and not sure why. I believe I have stared at this for to long. I am currently just trying to populate a ComboBox with the data that is read in from a SQL DB through a SQL query. Currently I have the below code. I am …

Member Avatar for PerplexedB
0
512
Member Avatar for Ahmed_51

I've created a Mortgage Calculator via WPF on visual studio 2012. The design looks like this: Enter Loan amount: TextBox here Enter Loan Duration: 15 years(Radio Button) 30 years(Radio Button) Other(Radio Button) with TextBox Select Interest Rate: ComboBox here Button here to calculate The issue i'm having trouble with coding …

Member Avatar for tinstaafl
0
545
Member Avatar for airhalynn101

I created a form with datagridview for a list of clients. Now, I want to add a Search funtionality for my list, so that the user can just type in the value he wants to see and the row with that value will get selected. Also, I want to add …

Member Avatar for airhalynn101
0
578
Member Avatar for tshukela.george

every combobox selection is replaced with what a user has selected, I want it not to be replaced so that all seleced combobox can be printed

Member Avatar for Begginnerdev
0
416
Member Avatar for fugio

hi all I have an exercise when I select the value in the combobox will confirm the value on datagridview I wrote a code in combobox of from1 Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load Dim sQry As String sQry = "SELECT Name FROM dtaStudent" …

Member Avatar for Daemon_CC
0
4K
Member Avatar for sashyn01

this is what i want to do but it seems my code doesn't do what i wanted. when i select an item in cbo_Item i want to loop the corresponding Item_Stock into cbo_QTY where all the numbers below Item_Stock is shown in cbo_QTY...here is my code... Private Sub loop_QTY() Dim …

Member Avatar for Sulaiman_1
0
778
Member Avatar for asaidi

Hi i m trying to make a combobox that user can choose a value from a table this value then it is saved i have the code really i m stucked on combobox.. import java.awt.BorderLayout; import java.awt.Color; import java.awt.Dimension; import java.awt.Font; import java.awt.GridBagLayout; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; //The API for …

Member Avatar for asaidi
0
2K
Member Avatar for tanatos.daniel

I am desperately trying to add a DataGridViewComboBoxColumn to my DataGridView programatically. Here is the Code I've got so far. DataTable dt = new DataTable(); dt = _userBL.getUsersTable().DefaultView.ToTable(false, "Person_ID", "FirstName", "LastName", "Title", "Username"); dataGridView1.DataSource = dt; DataGridViewComboBoxColumn ComboBoxCell = new DataGridViewComboBoxColumn(); ComboBoxCell.Name = "State"; ComboBoxCell.ValueMember = "State";//ComboBoxCell.DisplayMember = "State"; ComboBoxCell.DisplayMember …

Member Avatar for tanatos.daniel
0
235
Member Avatar for fugio

hi all, I have a piece of code, I can delete the first value but fails and give notice InvalidArgument=Value of '0' is not valid for 'index'. Parameter name: index Private Sub ComboBox1_KeyDown(ByVal sender As System.Object, ByVal e As System.Windows.Forms.KeyEventArgs) Handles ComboBox1.KeyDown If ComboBox1.Items.Count > 0 Then If e.KeyCode = …

Member Avatar for oussama_1
0
1K

The End.