I have a datagrid control in my C# application and when the app starts it should be ReadOnly. However, i need to be able to edit the grid and them make it readonly again. This is what i'm doing :

productDataGrid.ReadOnly = false;

..but it doesn't work...

Please help!