Hi

I'm very new to windows forms. I want to use a comboBox to do I kind of
'change all' on some datagridview columns cell values. i.e. The user selects
a value in the dropdown and it changes all the cell values in the column it
applys too. AutoSizeColumnsMode is Fill so I would like to lock the comboBox
to the column that it should apply too.

What options do I have?

Many thanks
Andrew

Re: Lining up external combobox with datagridview column by Bofors

Bofors
Thu Jul 17 23:05:27 CDT 2008

I am new to using these groups and replied to you rather than the group, can
you please post my answer back to the group. Thanks!
"Andrew Jocelyn" <j055@newsgroups.nospam> wrote in message
news:eDpUvCD6IHA.4084@TK2MSFTNGP03.phx.gbl...
> Hi
>
> I'm very new to windows forms. I want to use a comboBox to do I kind of
> 'change all' on some datagridview columns cell values. i.e. The user
> selects a value in the dropdown and it changes all the cell values in the
> column it applys too. AutoSizeColumnsMode is Fill so I would like to lock
> the comboBox to the column that it should apply too.
>
> What options do I have?
>
> Many thanks
> Andrew
>



Re: Lining up external combobox with datagridview column by Bofors

Bofors
Thu Jul 17 23:10:45 CDT 2008

Okay, I guess my reply never reached you. Here its again:
I am assuming that your DataGridView is bound to either a collection of
objects or a Dataset/datable, you can update this bound collection and
rebind or refresh your grid. You can hook up this code on the Comobox
SelectedIndexChanged event.


"Bofors" <bofors@newsgroup.nospam> wrote in message
news:O8FuGuI6IHA.2260@TK2MSFTNGP03.phx.gbl...
>I am new to using these groups and replied to you rather than the group,
>can you please post my answer back to the group. Thanks!
> "Andrew Jocelyn" <j055@newsgroups.nospam> wrote in message
> news:eDpUvCD6IHA.4084@TK2MSFTNGP03.phx.gbl...
>> Hi
>>
>> I'm very new to windows forms. I want to use a comboBox to do I kind of
>> 'change all' on some datagridview columns cell values. i.e. The user
>> selects a value in the dropdown and it changes all the cell values in the
>> column it applys too. AutoSizeColumnsMode is Fill so I would like to lock
>> the comboBox to the column that it should apply too.
>>
>> What options do I have?
>>
>> Many thanks
>> Andrew
>>
>
>