Wrox Home  
Search P2P Archive for: Go

  Return to Index  

asp_databases thread: Setting a cell to <NULL> in a database with C#


Message #1 by "Jean-Baptiste Raud" <jbr@s...> on Tue, 30 Jul 2002 09:47:48 +0200
	Hello everybody,
	I'm a french student using ASP.Net with C#. I have a problem: in the
codebehind in C# of my application I try to set a cell to <NULL> in the
database I work on, but I don't manage to do so. The column containing the
cell is supposed to receive  FLOATS. If I enter in C# in my code behind
"Double.NaN" it writes "-1,#IND" in the cell of the database instead of
<NULL>."-1,#IND" is not a FLOAT therefore when I try to use that cell
afterwards it generates an error...
	Thanks for answering ! Go luck for you too!
	Bye,

			JB



  Return to Index