i select some column in gridview as readonly so that they don't appear in edit mode. The coulmn which i declared as read only does not appear in edit mode but when i update the table, the coulmn that is declared as readonly becomes empty. and empty data
is inserted in database .
i don't know why this happen?
Please help
Dont include the readonly columns in your update command, modify the update statement.
沒有留言:
張貼留言