Winforms datagridview - allowing editing.

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have a datagridview (Winforms vb.net) whose datasource is a class I have
constructed. I want to allow users to edit the cells in the grid and I can't.
The MS documentation states that for this to be done the underlying data
source should support editing. (I have enabled the grid, set the EditMode
property and ReadOnly property appropriately). But the cells cannot be
edited. I am sure this is because the underlying class does not support
editing.

How do I amend my class so that it supports editing?

Thanks,

Maz
 
How is your class constructed? Is it a generic list, is it a datatable,
is it an arraylist? Is it VB2003 or VB2005?

Robin S.
 

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