Click here to Skip to main content
16,005,121 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: DataGridViewComboBoxColumn doesn't show data until clicked in a datagridview control Pin
SteveNY6-May-08 8:22
SteveNY6-May-08 8:22 
GeneralRe: DataGridViewComboBoxColumn doesn't show data until clicked in a datagridview control Pin
Dave Kreskowiak6-May-08 8:46
mveDave Kreskowiak6-May-08 8:46 
GeneralRe: DataGridViewComboBoxColumn doesn't show data until clicked in a datagridview control Pin
SteveNY6-May-08 11:13
SteveNY6-May-08 11:13 
GeneralRe: DataGridViewComboBoxColumn doesn't show data until clicked in a datagridview control Pin
Dave Kreskowiak6-May-08 19:23
mveDave Kreskowiak6-May-08 19:23 
GeneralRe: DataGridViewComboBoxColumn doesn't show data until clicked in a datagridview control Pin
SteveNY7-May-08 11:12
SteveNY7-May-08 11:12 
GeneralRe: DataGridViewComboBoxColumn doesn't show data until clicked in a datagridview control Pin
Dave Kreskowiak7-May-08 14:05
mveDave Kreskowiak7-May-08 14:05 
GeneralRe: DataGridViewComboBoxColumn doesn't show data until clicked in a datagridview control Pin
SteveNY8-May-08 11:23
SteveNY8-May-08 11:23 
GeneralRe: DataGridViewComboBoxColumn doesn't show data until clicked in a datagridview control Pin
Dave Kreskowiak8-May-08 13:29
mveDave Kreskowiak8-May-08 13:29 
The cell has to have a value that matches a Value in the data bound to the Combo.

In your example, the default cell value is DbNull, which the data in the Combo doesn't contain. Set the value of the cell to one of the values in the Combo and the combo will show the correct item.


A guide to posting questions on CodeProject[^]



Dave Kreskowiak
Microsoft MVP
Visual Developer - Visual Basic
     2006, 2007, 2008




AnswerRe: DataGridViewComboBoxColumn doesn't show data until clicked in a datagridview control Pin
javedk096-May-08 19:56
javedk096-May-08 19:56 
QuestionOPEN A NON ACTIVE FORM Pin
robby19776-May-08 4:03
robby19776-May-08 4:03 
AnswerRe: OPEN A NON ACTIVE FORM Pin
Dave Kreskowiak6-May-08 4:54
mveDave Kreskowiak6-May-08 4:54 
GeneralRe: OPEN A NON ACTIVE FORM Pin
robby19777-May-08 11:39
robby19777-May-08 11:39 
Question[Message Deleted] Pin
nishkarsh_k6-May-08 3:30
nishkarsh_k6-May-08 3:30 
AnswerRe: Error while saving image to file "A generic error occurred in GDI+." Pin
Dave Kreskowiak6-May-08 3:48
mveDave Kreskowiak6-May-08 3:48 
GeneralRe: Error while saving image to file "A generic error occurred in GDI+." Pin
nishkarsh_k6-May-08 4:02
nishkarsh_k6-May-08 4:02 
GeneralRe: Error while saving image to file "A generic error occurred in GDI+." Pin
Dave Kreskowiak6-May-08 4:33
mveDave Kreskowiak6-May-08 4:33 
GeneralRe: Error while saving image to file "A generic error occurred in GDI+." Pin
nishkarsh_k6-May-08 9:36
nishkarsh_k6-May-08 9:36 
GeneralRe: Error while saving image to file "A generic error occurred in GDI+." Pin
Dave Kreskowiak6-May-08 10:03
mveDave Kreskowiak6-May-08 10:03 
GeneralRe: Error while saving image to file "A generic error occurred in GDI+." Pin
nishkarsh_k6-May-08 10:38
nishkarsh_k6-May-08 10:38 
QuestionByRef vs Return Pin
Kevin Brydon6-May-08 3:12
Kevin Brydon6-May-08 3:12 
AnswerRe: ByRef vs Return Pin
Dave Kreskowiak6-May-08 3:45
mveDave Kreskowiak6-May-08 3:45 
GeneralRe: ByRef vs Return Pin
Kevin Brydon6-May-08 4:43
Kevin Brydon6-May-08 4:43 
GeneralRe: ByRef vs Return Pin
Dave Kreskowiak6-May-08 4:55
mveDave Kreskowiak6-May-08 4:55 
GeneralRe: ByRef vs Return Pin
Kevin Brydon6-May-08 5:54
Kevin Brydon6-May-08 5:54 
GeneralRe: ByRef vs Return Pin
Dave Kreskowiak6-May-08 6:17
mveDave Kreskowiak6-May-08 6:17 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.