avoid addition of new row on making datagrid readonly false

  • Thread starter Thread starter ravi trivedi via .NET 247
  • Start date Start date
R

ravi trivedi via .NET 247

(Type your message here)
hi
When i make my datagrid readonly property as false a new row is added..
how to avoid it??
 
Hi ravi,

The readonly property will stop you from editing the values. To remove the newrow feature you need to use a DataView and set its AddNew property to false.
 

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