1
Reply

How to save data by OledbCommandBuilder

Sonu Pandey

Sonu Pandey

Apr 27 2016 10:16 AM
260
Sir, 
 
 
I face this problem when Save data by OleDbCommandBuilder. 
 
Dynamic SQL generation for the UpdateCommand is not supported against a SelectCommand that does not return any key column information. 
 
My code here
 
OleDbCommandBuilder cb = new OleDbCommandBuilder(da);
da.Update(ds);
MessageBox.Show("Test");
 

Answers (1)