1]添加一個DBNavigator1,其DataSource設置爲與DBGrid1同樣spa
2]雙擊DBGrid1裏一個單元格,修改數據後,點DBNavigator1的綠勾提交修改code
雙擊
3]DBGrid1的ReadOnly必定爲False,不然雙擊修改不了blog