Quantcast
Channel: VBForums - Visual Basic .NET
Viewing all articles
Browse latest Browse all 27389

VS 2010 Datagridview - how do I get cells with integer datatype to display as blank?

$
0
0
My dgv is bound to an Access table which has several integer columns that contain no data. When the dgv is loaded with this table, the columns in question display, as I want them to do, as blank cells. If a user starts filling in these empty cells with integers and then decides to delete them, I want the cells to become blank once again. This is proving very difficult as it is apparently not possible to have a null value in an integer field (which is odd because Access displays these fields as blank, as does the dgv when it's first loaded with the table).

Is there a way to do this, please?

Viewing all articles
Browse latest Browse all 27389

Trending Articles



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