Eugene,
When you call Update on a DataAdapter that has a stored procedure as a
command, I believe that you can set a column mapping up (through the
TableMappings property, which exposes a DataTableMapping, which in turn
exposes the ColumnMappings property) which will map the stored procedure
parameter to the column in the data table.
Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
-
mv*@spam.guard.caspershouse.com
"Eugene Turin" <tu*****@mail.ru> wrote in message
news:5e**************************@posting.google.c om...
I'm writing a simple app that acts with simple DBF table via
ODBCAdapter.
I've got the idea of working with DataGrid, DataDet and DataAdapter.
I connect to my Adapter DeleteCommand and AddComand.
I call an update method of adapter.
But how to pass the parameters from DataGrid to commands? They must
fill automatically by some way?
If I set parameters of commands mannually - it works fine.