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.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Jaimin ShethiyaPosted Mar 22, 2021, 4:42 AM
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;
Jay Krishna ReddyPosted Mar 17, 2021, 11:54 AM