Suppose there is a DataTable t1 with fields f1, f2, f3 and it is necessary that the DataAdapter produce such an update on a real database:
UPDATE table1 SET p1=f1,p2=f2 WHERE p3=f3 How do I configure the command object so that the DataAdapter does everything correctly?
The main snag in the parameters.
I understand correctly that I need to construct here with such a constructor
https://msdn.microsoft.com/ru-ru/library/cdd6yck6(v=vs.110).aspx ?
What is srcColumn? Is this a column in a DataTable or a real table?