Generic DBNull function
Hi levyuk1. Continuing on the concept laid out by theancientone55 here's a generic class that can be instantiated perhaps at the class level for each of the types you are concerned with. Presumably...
View ArticleGeneric DBNull function
I see lots of messages about this but so far I have not found a method that will work for me. I am pulling records from SQL and need to import them into another system via an api, I have the import...
View ArticleGeneric DBNull function
Well, my suggestion I think has a flaw, but I think it will set you in the right direction. Code SnippetPublicFunction DefaultT(Of T)(ByVal Expression As T, ByVal Value As T) As T IfNot...
View ArticleGeneric DBNull function
Hi folks,I usually use c# so I'm stuck on this.I want a generic method that can handle dbnull's and return the default value for the typeI'n c# you can use the default key word but I can't find any vb...
View Article