float? You mean single or double?
a varchar returned from SQL Server is usually accessed as a "string".
If this be the case, then Single.Parse or Double.Parse will do. However,
it's better to use TryParse, just in case the number is badly formed.
"Thomas Beyerlein" <tb***@yahoo.com> wrote in message
news:Oo**************@TK2MSFTNGP14.phx.gbl...
Hi,
I need help with a Error message. It is do to a datatype conversion of a
varchar to a float. If anyone has code to convert or an away around this
problem that would be great.
Thanks for all the help.
Tom
*** Sent via Developersdex http://www.developersdex.com ***