how to disable Delete and Insert but enable update with Datagrid?

  • Thread starter Thread starter Jianfeng Chen
  • Start date Start date
J

Jianfeng Chen

no problem with vb6, but what's wrong with the datagrid binding with vb.net?

thanks.
 
Hi,

Bind the datagrid to a dataview instead of the dataset. The
dataview has the allownew, allowedit, and allowdelete properties.

Ken
 
Thanks.
In fact, the problem is not dataset or dataview, it's datagrid.
i want to disable the 'Del' key when using datagrid, or at least
let me control the relatived events.
 
Back
Top