Good Evening,
Please do let me know how to declare a variable as double in obj_DbNullHandler
ex:age= Convert.ToDouble(obj_DbNullHandler.CheckDBNullAndReturnNullablelong(drr, "age"))
Thank you
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend4days leftRegister
Jay Krishna ReddyRank #152 · 15.2K reputationPosted Mar 17, 2021, 7:54 AM EDT
Jaimin ShethiyaRank #177 · 13.7K reputationPosted Mar 22, 2021, 12:42 AM EDT
CheckDBNullAndReturnNullablelong this method are you used but that method return the long so why you have used double datatype.
you have used the long obj_DbNullHandler = 0;
or if you want to declare a double then double obj_DbNullHandler = 0.0;