Update requires a valid UpdateCommand when passed DataRow collection with modified rows.
                            
                         
                        
                     
                 
                
                    Greeting dear members,
I keep getting this error when attempting to modify data in the my datatable and saving it:
"Update requires a valid UpdateCommand when passed DataRow collection with modified rows"
Eventough I assigned a primary key to my table.
What could be the reason??