M
Mark Neilson
I want to be able to populate all of the properties of a SqlParameter for
updating via stored procedure by passing in a datatable object.
I was able to do this easily under ADO as the Fields collection of an ADO
recordset would give me all of this.
The closest I can find is a DataColumn object but I am missing NumericScale,
Precision and Size.
I expect the stored procedure will fail if it does not get this info for say
a Decimal parameer.
Any way of being able to gather this information this way?
updating via stored procedure by passing in a datatable object.
I was able to do this easily under ADO as the Fields collection of an ADO
recordset would give me all of this.
The closest I can find is a DataColumn object but I am missing NumericScale,
Precision and Size.
I expect the stored procedure will fail if it does not get this info for say
a Decimal parameer.
Any way of being able to gather this information this way?