Click here to Skip to main content
15,888,113 members
Home / Discussions / C#
   

C#

 
QuestionCompiled HTML Help file (.chm) Pin
~~BAKKAR~~22-Apr-07 0:37
~~BAKKAR~~22-Apr-07 0:37 
AnswerRe: Compiled HTML Help file (.chm) Pin
Stefan Troschuetz22-Apr-07 2:55
Stefan Troschuetz22-Apr-07 2:55 
GeneralRe: Compiled HTML Help file (.chm) Pin
~~BAKKAR~~22-Apr-07 13:28
~~BAKKAR~~22-Apr-07 13:28 
GeneralRe: Compiled HTML Help file (.chm) Pin
Stefan Troschuetz22-Apr-07 21:13
Stefan Troschuetz22-Apr-07 21:13 
GeneralRe: Compiled HTML Help file (.chm) Pin
~~BAKKAR~~23-Apr-07 1:48
~~BAKKAR~~23-Apr-07 1:48 
Questionplz help me with datagridview question Pin
akkram22-Apr-07 0:29
akkram22-Apr-07 0:29 
AnswerRe: plz help me with datagridview question Pin
NaNg1524122-Apr-07 17:42
NaNg1524122-Apr-07 17:42 
AnswerRe: plz help me with datagridview question [modified] Pin
Pualee22-Apr-07 18:25
Pualee22-Apr-07 18:25 
http://72.14.209.104/search?q=cache:trF3gRxXd5wJ:www.windowsforms.net/Samples/Go%2520To%2520Market/DataGridView/DataGridView%2520FAQ.doc+dataGridview+autogeneratecolumns&hl=en&ct=clnk&cd=3&gl=us[^]


This always answers my questions, I suggest looking there first (I DLed the doc at the top). That said, I have never figured out your problem, I just did a work around:

1. Create an unbound DataGridViewComboBoxColumn
2. Fill it with your selectable values
3. Add it to your DataGridView
4. Set its value based on the bound column
5. Hide the bound column
6. Create a CellValueChanged event
7. On changing the unbound column value, update the bound column

If you are dead set on putting the bound column as a combo box, I think you would have to pre-populate your columns in the datagridview prior to binding your datasource (3 textboxes and 1 combobox appropriately named), otherwise I have no success trying to change the DataGridViewTextBoxColumn (default) to ComboBox.

Good Luck

Pualee


-- modified at 0:30 Monday 23rd April, 2007
GeneralRe: plz help me with datagridview question Pin
Pualee22-Apr-07 19:36
Pualee22-Apr-07 19:36 
AnswerRe: plz help me with datagridview question Pin
Keshav V. Kamat22-Apr-07 22:43
Keshav V. Kamat22-Apr-07 22:43 
Questionstr(number,width,presicion) function Pin
AndrusM21-Apr-07 23:40
AndrusM21-Apr-07 23:40 
AnswerRe: str(number,width,presicion) function Pin
Christian Graus21-Apr-07 23:49
protectorChristian Graus21-Apr-07 23:49 
GeneralRe: str(number,width,presicion) function Pin
AndrusM22-Apr-07 11:21
AndrusM22-Apr-07 11:21 
AnswerRe: str(number,width,presicion) function Pin
Vega0222-Apr-07 18:11
Vega0222-Apr-07 18:11 
QuestionString literal in multiple lines Pin
AndrusM21-Apr-07 23:38
AndrusM21-Apr-07 23:38 
AnswerRe: String literal in multiple lines Pin
Christian Graus21-Apr-07 23:51
protectorChristian Graus21-Apr-07 23:51 
AnswerRe: String literal in multiple lines Pin
vimal313422-Apr-07 19:44
vimal313422-Apr-07 19:44 
QuestionHow to explicitly invoke parent's constructor Pin
lchild38521-Apr-07 21:32
lchild38521-Apr-07 21:32 
AnswerRe: How to explicitly invoke parent's constructor Pin
Arun.Immanuel21-Apr-07 22:36
Arun.Immanuel21-Apr-07 22:36 
GeneralRe: How to explicitly invoke parent's constructor Pin
lchild38521-Apr-07 22:46
lchild38521-Apr-07 22:46 
AnswerDerivedConstructor(int a,int b) : base(b) Pin
Chetan Patel22-Apr-07 18:40
Chetan Patel22-Apr-07 18:40 
QuestionHelp! How to implement this? Pin
huheng_0_021-Apr-07 21:31
huheng_0_021-Apr-07 21:31 
AnswerRe: Help! How to implement this? Pin
Christian Graus21-Apr-07 23:54
protectorChristian Graus21-Apr-07 23:54 
GeneralRe: Help! How to implement this? Pin
huheng_0_022-Apr-07 1:02
huheng_0_022-Apr-07 1:02 
AnswerRe: Help! How to implement this? Pin
Guffa22-Apr-07 2:12
Guffa22-Apr-07 2:12 

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.