Hi,
I have a gridview which uses dynamic SQL. I let the user add as many rows as they want and then when they hit the save button I loop through each row and set the primary key with a new id. However I still get 'Primary Key cannot be null' error even though I have set it. Any ideas?