How to disable DataGrid Control AddNew row?

  • Thread starter Thread starter jiatiejun
  • Start date Start date
J

jiatiejun

I can set ReadOnly = true to Disable,

but I want modify the data,

how to do it (can modify the data and can't addnew row)

(like VB6's DataGrid has AllowAddNew,AllowUpdate,AllowDelete prop)

thanks
 
The DataView that you bind to the grid has the following
properties.

AllowNew, AllowEdit,AllowDelete

-----Original Message-----
I can set ReadOnly = true to Disable,

but I want modify the data,

how to do it (can modify the data and can't addnew row)

(like VB6's DataGrid has
AllowAddNew,AllowUpdate,AllowDelete prop)
 
Back
Top