Background: Version Q3 2008, VS2005, DataSet, SQL Server.
I am using a RadGrid, which uses an ObjectDataSource, which uses a DataSet. When initially created, everything works fine during updates. However, when I set a column to ReadOnly=True (it's not the PK column btw), then during an UPDATE I get the error, "Cannot insert the value NULL into column 'columnname.'" That is, when a column is set to ReadOnly=True, a null value is submitted to the update command for that column, even though a non-NULL value was displayed in the grid.
Any clues?
Thank you.
I am using a RadGrid, which uses an ObjectDataSource, which uses a DataSet. When initially created, everything works fine during updates. However, when I set a column to ReadOnly=True (it's not the PK column btw), then during an UPDATE I get the error, "Cannot insert the value NULL into column 'columnname.'" That is, when a column is set to ReadOnly=True, a null value is submitted to the update command for that column, even though a non-NULL value was displayed in the grid.
Any clues?
Thank you.