K
kurt sune
I am trying to use a DataTable as a transporting container between
components for data to be inserted into sql server via a stored procedure.
The idea is to extract data, rowcolumn by rowcolumn, from the datatable,
remake them to parameters, append the parameters to a commandobject and pass
the lot to the procedure.
I can put in a column names and column data.into the datatable.
All is well so far.
But I need a way to transport the direction
(ParameterDirection.Input, InputOutput, Output)
in the datatable in order to get the parameterobject right..
Any tips/ideas?
/k
components for data to be inserted into sql server via a stored procedure.
The idea is to extract data, rowcolumn by rowcolumn, from the datatable,
remake them to parameters, append the parameters to a commandobject and pass
the lot to the procedure.
I can put in a column names and column data.into the datatable.
All is well so far.
But I need a way to transport the direction
(ParameterDirection.Input, InputOutput, Output)
in the datatable in order to get the parameterobject right..
Any tips/ideas?
/k