I have a DataGrieView control in my VB.Net application which I load bind to a tableadapter programmatically.
I am able to update existing records from the datagridview control to the underlying database, but I am not able to insert\add records from the datagridview control to the database.
What am I doing wrong? How can I fix this?
Below, I have added my code, and also the error message I get when I try to add the record to the datagridview:
Is there a way to programmatically add the ProviderMasterID, when I click on the Drop Down combobox?
Thank you very much in advance,