datagrid-update

  • Thread starter Thread starter reiks
  • Start date Start date
R

reiks

I have a datagrid with two columns-name,id and both are
editable.

My requirement is that I want my second column(id) as a
non updatable column.Though I can change the values of
column by editing it,upon saying update,the second
shouldn't be updated.

Do we have to set any property or do it programatically?

If so,how?
 
Hi reiks,

You might want to set column in DataTable as readonly (DataColumn.ReadOnly =
true) or you might set GridColumnStyle.ReadOnly property to true.
 
Back
Top