vb.net - Why does setting a DataSet row value to Nothing initialize it to the data type minvalue? -


when setting dataset row column nothing, row.date = nothing, why initialize data type minvalue? in case date, gets set 0000-01-01. column set allow null etc., , if don't set row @ all, leave column empty. why nothing act way?

in c# would've set dbnull, guess, i'm tad green on vb.net - might able tell. :)

hps correct should use dbnull.value assign null value database column.

  row.date = dbnull.value 

the reason see default value being set keyword nothing in vb.net comparable default(t) in c#, not c#'s null keyword.


Comments

Popular posts from this blog

asp.net - repeatedly call AddImageUrl(url) to assemble pdf document -

java - Android recognize cell phone with keyboard or not? -

iphone - How would you achieve a LED Scrolling effect? -