Generating an SqlParameter from a value in a DataSet

  • Thread starter Thread starter Stephan Zaubzer
  • Start date Start date
S

Stephan Zaubzer

How can I generate a Parameter if I cannot retrieve the SqlDbType from
an item in a row of a DataSet?
Is it safe to just take the object I retrieve from the DataSet and take
the following constructor for the Parameter:
SqlParameter(string parameterName, object value)???
Regards
Stephan
 
Back
Top