Home All Groups Group Topic Archive Search About

VB.net Datagrid - allow updates but not additions

Author
29 Mar 2005 10:09 PM
bhooper
Does anyone know how I can allow updates to a datagrid while hiding the
insert row that appears as the last row in the datgrid control?

I want users to be able to update select columns for existing records, while
preventing them from inserting new records from the datagrid itself.

Author
30 Mar 2005 7:35 AM
Cor Ligthert
Bhooper,

That should be possible, probably you have disabled more than only the
dataview.addnew = false.

I hope this helps,

Cor
Author
30 Mar 2005 2:15 PM
bhooper
Cor,

Worked perfectly. Thanks a lot.

Show quoteHide quote
"Cor Ligthert" wrote:

> Bhooper,
>
> That should be possible, probably you have disabled more than only the
> dataview.addnew = false.
>
> I hope this helps,
>
> Cor
>
>
>