evanbooth
New member
- Joined
- Mar 17, 2009
- Messages
- 3
- Programming Experience
- 5-10
Hey guys,
I have a table that has an auto-incrementing primary key. I'd like to manually add new rows to a dataset (that consequently show up on a datagridview) and be able to commit these new lines in the future.
When I try to add a new row, I get an error that my primary key column can't be set to null. That makes perfect sense, but I can't very well get the primary key without actually adding the row to the table.
Does that make any sense?
Thanks!
I have a table that has an auto-incrementing primary key. I'd like to manually add new rows to a dataset (that consequently show up on a datagridview) and be able to commit these new lines in the future.
When I try to add a new row, I get an error that my primary key column can't be set to null. That makes perfect sense, but I can't very well get the primary key without actually adding the row to the table.
Does that make any sense?
Thanks!