|
-
February 27th, 2009, 03:06 PM
#1
Editing cells in datagridview
Hi all!
I would like to ask you something related a problem which occurs in my app.
There is a datagrid view, which I add and delete some rows.
All the rows must be "ReadOnly" rows, except the first one. The user of application must be able to edit the first row of the datagrid using the keyboard in order to type the data.
I try this code in order to have this behavior:
Code:
this.m_snapshotDatagrid.Rows.Clear();
this.m_snapshotDatagrid.Rows.Add();
this.m_snapshotDatagrid.Rows[0].ReadOnly = false;
But, when I try to edit the row, I am not able to edit any cell of the first line of the datagrid.
Does someone could help me to solve this problem?
Thank you in advance!
Gustavo
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|