Hide datagrid new row

  • Thread starter Thread starter Marco
  • Start date Start date
M

Marco

Is there a way to hide the new row in a datagrid without setting it to read
only? I want to be able to still edit the values in it but I should not be
able to create any new ones.
 
Base it on a DataView instead of a DataTable. Set the DataView.AddNew to
false.

Doug Crabtree
 
That worked, thanks for the help.

Doug Crabtree said:
Base it on a DataView instead of a DataTable. Set the DataView.AddNew to
false.

Doug Crabtree
 

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