Just learning here so any help is greatly appreciated. When I want to "edit" or "add new item" the page automatically makes every column in my table editable. Obviously I dont want to edit the primekey if there is one. Is there anyway to select specific columns in the editing row without selecting the whole row. <BR><BR> datagrid1.edititemindex = e.item.itemindex (and not first column)<BR><BR>And if I want to add a new item the code automatically adds a new row which is good, but it errors when there is primekey in table. I want to make the primekey field not writeable. <BR>