Questions tagged [datagridviewcombobox]

263 questions
-1
votes
1 answer

DataGridComboxBox is not shown in initial state

After wasting 2 day, I just little understand of wpf datagrid data-binding process.In the Earlier,I want to show combo box in datagrid view column.After googled, i found the way to bind combo in datagrid.Now i got the problem that looks like easy…
lwin
  • 3,784
  • 6
  • 25
  • 46
-1
votes
1 answer

Use PageUp PageDown on DataGridViewComboBoxColumn in vb.net

I have a DataGridView that has a few DataGridViewComboBoxColumns. When attempting to use the ComboBoxColumns they have a few user annoyances I want to resolve but don't know how. 1) PageUp and PageDown change DataGridView Rows, instead of values…
-1
votes
2 answers

Number of comboboxes increase after the first set of results

I am populating my datagrid based on a value in the textbox. One of the field values in my grid view is a combobox.On a particular text box entry it shows me the correct results but wen I give another value in the text box, the combobox…
psk
  • 15
  • 1
  • 7
-1
votes
1 answer

Can't clear a DataGridView combobox without 100s of errors

I'm using VB.NET to make a stand-alone executable containing an unbounded DataGridView. One of its columns is a combobox. I add rows to the combobox with some simple code like this: For r As Int16 = 0 To eachLine.GetUpperBound(0) Dim dgvcbc…
Bakchod Guru
  • 51
  • 1
  • 6
-1
votes
1 answer

How to add items to a DataGridView ComboBoxColumn?

I'm having a problem with filling a comboxcolumn in a datagrid view. Here is a brief description of my problem. I've a combo column in datagrid view named as dgvRightsColumn and table in SQL named as Rights. I want to fill this combobox of…
Azeem Khalid
  • 145
  • 1
  • 1
  • 7
-1
votes
2 answers

Selecting table from database with combobox and populating datagridview-can't get it to work

OleDbDataAdapter da2 = new OleDbDataAdapter("SELECT nazivMaterijala FROM popisMaterijala", con); DataTable dt = new DataTable(); da2.Fill(dt); BindingSource bndSource2 = new BindingSource(); bndSource2.DataSource = dt; this.comboBox1.DataSource…
user2516578
  • 19
  • 2
  • 10
-1
votes
1 answer

DataGridView with ComboBox Column showing System.Data.DataRowView instead of DisplayMember

I am working with C# 4.0 WinForms. I have a DataGridView which has all of it's columns set in the designer. The "Room" column is a DataGridViewComboBoxColumn column. All of the cells show the correct information, including the Room Column. …
Dave Lucre
  • 1,105
  • 1
  • 14
  • 16
-2
votes
1 answer

Object reference not set to an instance of an object in InitializeEditingControlValue of a DataGridView

I have a DataGridView, and inside a ComboBox cell which content a list of items. When we click on one of those item, I show the content of these "Item" in my main window. BUT if the user click on the small arrow to select an item but finally don't…
Bestter
  • 877
  • 1
  • 12
  • 29
1 2 3
17
18