Prevents DataGrid from add rows

  • Thread starter Thread starter Ronchese
  • Start date Start date
R

Ronchese

Hi all.

I need to lock my Datagrid so the users cannot add rows using that last row
("*" row).

My exact target is make the Datagrid not display that last row to the user,
while allowing the user edit the pre-existant rows.

How can I do that?

[]s
Cesar
 
Hi,

Dataset.Tables(0).DefaultView.allownew=false

Ken
-----------------
Hi all.

I need to lock my Datagrid so the users cannot add rows using that last row
("*" row).

My exact target is make the Datagrid not display that last row to the user,
while allowing the user edit the pre-existant rows.

How can I do that?

[]s
Cesar
 
Thanks!


"Ken Tucker [MVP]" <[email protected]> escreveu na mensagem
Hi,

Dataset.Tables(0).DefaultView.allownew=false

Ken
-----------------
Hi all.

I need to lock my Datagrid so the users cannot add rows using that last row
("*" row).

My exact target is make the Datagrid not display that last row to the user,
while allowing the user edit the pre-existant rows.

How can I do that?

[]s
Cesar
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top