|
dev
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Generating an SqlParameter from a value in a DataSetHow 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 Yep, that's 'safe'
Show quote "Stephan Zaubzer" <stephan.zaub***@schendl.at> wrote in message news:eoVrRfoJGHA.3944@tk2msftngp13.phx.gbl... > 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 |
|||||||||||||||||||||||