Hello guys,

This might a simple question and people may have asked the same thing many times. I am not able to find a thread in the forums which solves.

I have a datagrid with which I am able to edit records but not able to insert new records. The datasource of the grid is a table with an auto increment field as the primary key.

Please help. Any code is appreciated.