Quantcast
Channel: Windows Forms Data Controls and Databinding forum
Viewing all articles
Browse latest Browse all 2535

Insert/Update NULL dates using TableAdapter

$
0
0

Using VS 2017, I've got a TableAdapter, in which I'm trying to insert NULL dates--using its INSERT command.

I'm being stopped when it encounters a DATE field, which is NULL.  (Allowable on the DB table.)

What "magic" date value should I use, to allow the INSERT command to perform its intended function (successfully)?

I'd prefer to NOT have to write additional methods, just to handle dealing with dates--otherwise, what would be the point of using the TableAdapter's INSERT command?  I may as well write my OWN Insert method.



Viewing all articles
Browse latest Browse all 2535

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>