Quantcast
Channel: VBForums
Viewing all articles
Browse latest Browse all 15537

Bound Datagridview To Accept Multiple Data Types in a single column

$
0
0
Hello, is there a way to make a single column in a bound datagridview accept multiple data types? I have a "MValue" column that can have either integers or text or both. My source file is an Excel file. Apparently whenever I am loading the contents of my Excel file to a dgv, the texts show as blank. I tried:

1. Creating a new file with just the string "EMPTY" in that column - formatted as text (didn't work), formatted as general (didn't work)
2. Tried using a copy of the file (copy file then paste to use copy of the file itself and not copy paste the contents to a new sheet) - formatted to text (didn't work), formatted to general (didn't work)

Any ideas?

Viewing all articles
Browse latest Browse all 15537

Trending Articles



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