hi pips. i have a datagridview that is autogenerated together with a binding navigator. however, the table that it is binded to has a primary key that is unique and has an auto incremented value. my problem is that when i add a record in the datagrid without putting a value for my primary key, it generates an error saying it doesnt allow a null value. how can i do it so that it will allow values since the database that i use(mysql) automatically creates a value for my primary key.. any ideas? please help.. thanks..