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.
 
Back
Top