|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Q: 1.#INFHi
Can anybody help with the following? I'm using a DataAdaptor to write data back to a SQL Server. If the DataTable contains divide by zero, then understandably 1.#INF is written back to the database. However, I'd prefer to write back NULL. Can anybody tell me how to do this? Hello G .Net,
if database_value = double.positiveinfinity then replace value with dbnull.value endif Show quoteHide quote > Hi > > Can anybody help with the following? > > I'm using a DataAdaptor to write data back to a SQL Server. If the > DataTable contains divide by zero, then understandably 1.#INF is > written back to the database. However, I'd prefer to write back NULL. > > Can anybody tell me how to do this? > Cheers Ghost
Show quoteHide quote "GhostInAK" <ghosti***@gmail.com> wrote in message news:be1391bf6d948c85f42a46e5d00@news.microsoft.com... > Hello G .Net, > > if database_value = double.positiveinfinity then > replace value with dbnull.value > endif > >> Hi >> >> Can anybody help with the following? >> >> I'm using a DataAdaptor to write data back to a SQL Server. If the >> DataTable contains divide by zero, then understandably 1.#INF is >> written back to the database. However, I'd prefer to write back NULL. >> >> Can anybody tell me how to do this? >> > >
Assigning Nullables to each other
Label Autosize Property... Possible bug?? Does vb.net winform supports checkbox groups? Writing a byte to a specific location in a file Can Format function force upper/lower case? RichTextFormat Guru needed Windows Service VB 2005 OOP Videos receiving an API message inpubox |
|||||||||||||||||||||||