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)
 

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