Kevin
Wed Oct 25 16:13:42 CDT 2006
I'm afraid not. You *could* write a custom DataGridViewColumn, and related
Controls, but that is an awful lot of work. I've done it before!
--
HTH,
Kevin Spencer
Microsoft MVP
Short Order Coder
http://unclechutney.blogspot.com
The devil is in the yada yada yada
"sonsuzoyku" <sonsuzoyku@yahoo.com> wrote in message
news:1161802447.427345.143850@k70g2000cwa.googlegroups.com...
> Kevin, thanks for the replay,
>
> But i am paranoid :). I would like to update the entire row in one db
> call therefore i have to handle "enter key" press. Can i determine
> which key is pressed in cellendedit method?
>
> Best regards...
>
>
>
> Kevin Spencer yazdi:
>> Handle the CellendEdit event. This event is called after the
>> CellValidating
>> event, which is called after the CellLeave event:
>>
>> 1) CellLeave (old cell)
>> 2) Cell Validating/ed (old cell)
>> 3) CellEndEdit (old cell)
>>
>> --
>> HTH,
>>
>> Kevin Spencer
>> Microsoft MVP
>> Short Order Coder
>>
http://unclechutney.blogspot.com
>>
>> The devil is in the yada yada yada
>>
>> "sonsuzoyku" <sonsuzoyku@yahoo.com> wrote in message
>> news:1161798220.903959.88950@e3g2000cwe.googlegroups.com...
>> > Hi,
>> >
>> > There is no keypress event for datagridviewcell items... That is a
>> > nightmare. I would like to save data to database on the grid when users
>> > press to enter after changing value of a cell on the grid. But only
>> > cellleave event is running on current cell. I tried to create a custom
>> > cell and column and there is no success :( ... Any idea?
>> >
>> > Thanks
>> >
>