Quantcast
Channel: MySQL Forums - Connector/NET and C#, Mono, .Net
Viewing all articles
Browse latest Browse all 1451

Default values - VB.NET (no replies)

$
0
0
I am using the 6.6.5 MySql.data connector.
One of the fields is defined as a smallint with a default of 180.
If I create a record with the MySql Query browser (and don't enterthis field). It yields the value of 180.
If I edit using VB.NET and a DataGridView, the new record is null.
How do I get the connector to respect the default values?

Thanks,

Gary

Viewing all articles
Browse latest Browse all 1451

Trending Articles



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