c# - How to tell if Target.Value is double or string -


i working excel sheet in vsto project.

i using event

excel.worksheet.change(range target) 

it gives target object of excel.range. want check whether target has string or double value using

target.value 

how can this?

hm...maybe try

object obj = target.value; messagebox.show(obj.gettype().tostring()); 

Comments

Popular posts from this blog

Why can rails not find a route created by a helper? -

javascript - jquery or ashx not working -

opencv - DataType<cv::detail::deriv_type>::depth what is it used for -