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.
 

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