204 Topics

Member Avatar for
Member Avatar for Skate Bart

I'm using a MSHFlexGrid (fgdVehicle) to input data from a database ( via a recordset (rsVehicle) ). You can either enter the data into the database in two ways : 1. From the database application 2. From a form. The problem is present in the second method. There are specific …

Member Avatar for AndreRet
0
587
Member Avatar for themaj

Can someone tell me how to add an additional item to a combobox that is bound to a datatable? I have populated the ComboBox with data from table sSQLCbo = "SELECT region.ID, region.name FROM [STORES] ORDER BY store.ID" Dim ds As New DataSet da = New OleDb.OleDbDataAdapter(sSQLCbo, con) da.Fill(dt) con.Close() …

Member Avatar for Pgmer
0
491
Member Avatar for Navu_1

as i declare the first one field is combobox and another one is text box. then if click the combobox value then corresponding text value to be displayed on text box.how to proceed to coding in ms access.

Member Avatar for debasisdas
0
84
Member Avatar for Dendei

Hey i would like to know how i can use a combobox to show alternatives which i will choose from but with more information when i choose like if a combobox has theese options Klas Maria Mat i choose Mat and the selected index is Mat now i want it …

Member Avatar for Dendei
0
284
Member Avatar for cmstoner

Hi all, I have a form on my program, and I have two comboboxes that I want to fill with data from columns in my database. I've tried three or four different ways that I've found searching around the web, but none of them seem to be working. They don't …

Member Avatar for poojavb
0
5K
Member Avatar for ms061210

**PLEASE HELP ME, MY CODE IS FOR SEARCHING. YOU WILL FIN THE NAME IN THE COMBO BOX, THEN WHEN YOU PRESS SEARCH ALL THE DATA ABOUT THE TENANT WILL BE RETRIEVED. BUT MY PROBLEM IS, EVEN THOUGH THE TENANT IS IN THE LIST, THE CODE ALWAYS RETURN NOT FOUND. PLEASE …

Member Avatar for ms061210
0
152
Member Avatar for az_ez

Hi, I have a combo box that has a display member thats a normal word such as 'Name', however it's Value member is an ID ('NameID') in a database. When I run the form and say choose option 3 from a list of 4 things then decide to change the …

Member Avatar for poojavb
0
109
Member Avatar for mohana_61

hey friends, i am new to vb.net so i have a problem to sort out.Can u pls help me. In my form i have a combobox and textbox,when i select an value from combobox then in the txtbox it has to automatically generate value (from database) corresponding to value selected …

Member Avatar for mohana_61
0
288
Member Avatar for scholarwithfire

Hello guys, i want to populate a textbox based on the selected index of a combobox. For example, the textbox will only be displayed if the selected index is "5". But the problem is, i generate a series of comboboxes through a loop which is based on the number of …

Member Avatar for lps
0
976
Member Avatar for Develop.eR

hello guys.. im new in creating websites.. my problem is how to auto update the dropdownlist then the combobox is change/click? example: i have 2 combobox which **cbo1** contains the list of genre of songs like *pop, opm, love songs* etc. and **cbo2** contains the list of *artists/singers etc* about …

Member Avatar for diafol
0
2K
Member Avatar for fatalaccidents

Hey guys, My question is pretty simple but I haven't been able to run across it in any of the examples I've seen online. I want to basically have a GUI that asks some questions with comboboxs. I would like it to be where the one at top is the …

0
154
Member Avatar for Maulikpra

Dim mm As New SqlClient.SqlConnection("Data Source=.\SQLEXPRESS;AttachDbFilename=Integrated Security=True;Connect Timeout=30;User Instance=True") mm.Open() Dim mm1 As New SqlDataAdapter("select * from Area_type order by Area_name", mm) Dim ds As New DataSet mmm1.Fill(ds) With ComboBox1 .DataSource = ds.Tables(0) .DisplayMember = "Area_name" .ValueMember = "Area_name" .SelectedIndex = 0 End With mm.Close() 'hi i am student and …

0
163
Member Avatar for HibaPro

hi everyone , can someone help me by this i have a DB table and a form the following fields , combobox and textboxes, what i need is how to write a query to retrieve data from the table when the user select some record from combobox thnx before and …

Member Avatar for poojavb
0
1K
Member Avatar for Angel78

So I have been working on this dice roller for a while but am stuck. My form looks like this, a comboBox1 where you can pick numberOfSides on the dice, a textbox1 where you type the numberOfTimes it shall roll the selected dice, a button1 and a richTextBox1 to display …

Member Avatar for PatSharbaugh
0
1K
Member Avatar for Pamilerin

I have a problem trying to link my my datagrid view to my sql server stored procedure. The way it should work is that when I select an item in a list from my combo box it returns a set of rows on the datagrid view specific only to that …

Member Avatar for Pamilerin
0
1K
Member Avatar for PoovenM

I'm creating a custom `ComboBox` that allows the user to select a date; the calendar display is localized making the built-in `DateTimePicker` undesirable (see [here](http://support.microsoft.com/Default.aspx?scid=kb;en-us;889834&x=18&y=19) for more information). I need the UI control to mirror the look and feel or the existing components. Here's what I've tried and the problems …

0
175
Member Avatar for kindofsudden

I have a bound datagridview and a dataset with tables. I have two sets of comboboxes bound to the same field "Restaurant" in the tables (mirroring each other). In the "NewEmployeeRestaurant" combobox I change the value and it reflects in the datagridview. I can shoot around clicking all over the …

Member Avatar for kindofsudden
0
274
Member Avatar for hptchen

hi... i'm a new member of daniweb i have a problem in setting 2 comboboxes. i want to populate the second combobox based on first combobox value. i already have the code running well in firefox and chrome. but the code is not working in IE. can anyone please help …

Member Avatar for hptchen
0
180
Member Avatar for Sturdy

Hi all, I want to clear all items of comboboxes in my form I can clear all textboxes using looping and check if control is textbox then clear textbox. But when i implement it to combobox it just clear the combobox text not all of items on combobox. Private Sub …

Member Avatar for Sturdy
0
849
Member Avatar for Rahmania03

hello friends, i m developing an windows application in VS2010 using Visual C# and MS Sql 2008 R2. i have a form consisting of datagridview and a Combobox. Name of DataGridView is "dgAccount" having three columns "Name","RollNo","City". Name of Combobox is "cboName". The Name of my DataBase is "dbAC". The …

Member Avatar for Rahmania03
0
488
Member Avatar for miramiey

I have a problem to make a selection by using combo box(cbChoice). if I have 2 item [name], [age], [id_number]. After click SEARCH button, the data from database will display to textbox. this my code but its not work myCommand = New MySqlCommand("SELECT * FROM daftarpelajar WHERE " & cbChoice.Text …

Member Avatar for Begginnerdev
0
133
Member Avatar for SeniorAlexandro

Alright, I have a Webbrowser which has a page opened. I want it to select a specific Option from the Combobox. How can I do that in VB ? HTML Code: [CODE]<select name="Protected"> <option value="NC"></option> <option value="ON">ON (protected)</option> <option value="OFF">OFF (unprotected)</option> </select>[/CODE] VB Code: [CODE]For Each element As HtmlElement In …

Member Avatar for AndreRet
0
273
Member Avatar for thehunk

i have a combobox i want to show all the student name in it , i am using mssql database , and when we select student a textbox will show the rollno of that student , please help me

Member Avatar for thehunk
0
135
Member Avatar for ayesha789

hi, all i need to add combobox in datagridview. actually i have 3 fields in database which are Sid Fee status what i want to add combo column in field [status] with two option PAID or UNPAID which a user can select and update it . i am all clear …

Member Avatar for darthswift00
0
3K
Member Avatar for niall86

Hey can anyone help me out with this code? Im am really stuck and need to complete it for my engineering degree but none of lecturers have any coding knowledge so im really in trouble. I have a GUI and in the GUI is 3 comboboxes with different options. Depending …

Member Avatar for niall86
0
189
Member Avatar for Ryan0

In the following code I am trying to select a file either from a file chooser or just typing out the path. The problem is I want the comboboxentry to change background color when something is put in it. The code works fine if it's a combobox (Line 7 is …

Member Avatar for Ryan0
0
613
Member Avatar for DNHK

Hi I need some help over here... how do i change the display member of a ComboBox after i have entered a code in a textbox that it represent the combobox value?? example Code: 02-001 Combobox: Provider X if i change the code the provider combobox must change and if …

Member Avatar for M.Waqas Aslam
0
302
Member Avatar for JustineAubrey

Hi, I am creating a form application that should display information from one dataset into individual textboxes (ie. system name, system id, location name, location id). The textboxes populate upon the selection of a pair of cascading combo boxes. So, the user first selects a system name from the first …

Member Avatar for JustineAubrey
0
249
Member Avatar for clc_services

Hi, I'm creating a web page which links to a mysql database. I have managed to get all of the data to appear in a table and i have also been able to get the combobox to be populated based on a table in the database. The part which I …

Member Avatar for clc_services
0
2K
Member Avatar for birdlover2010

Hello, I am doing a simple calculator program. I have a combo box and assigned numerical values to a string variable under each case number using the same variable name. My problem is I don't know how to assign that value. When I use the current code, it pulls the …

Member Avatar for codeorder
0
927

The End.