CommandBuilder question

  • Thread starter Thread starter Sébastien
  • Start date Start date
S

Sébastien

I build a DataTable manually by using a DataAdapter.Fill with one database
Table as parameter. I add it to the DataSet manually. I add a new column in
this DataTable and copy the Primary key value in the new field (looping with
a For statement). I create a CommandBuilder for this DataTable.

Question :
How does the CommandBuilder guess I don't need the last field in my
InsertCommand, UpdateCommand and DeleteCommand ? Is there any property set
to a specific value to indicate it ?

Thank you for your help.
 
Back
Top