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

SQLite columns

$
0
0

Hello

Hello

 I tried setting the type of column to VARCHAR and was able to post Email Addresses to the textboxes but when the Email column is empty

I get the error  :{"Specified cast is not valid."}

I set the default value to =(null) and that did not work then I left it blank that didn't work here is the code it breaks on: 

stringtEmail3 = dr.GetString(21);

"dr" is the SQLite datareader

And I do not have it set to "Not Null"on column.

And the default column value is blank in SQLite manager in firefox and null in DB Browser for SQLite??

Could someone please help me?


michael r demulling


Viewing all articles
Browse latest Browse all 2535

Trending Articles



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