lundi 1 février 2021

input string was not in a correct format. c# .net

working on a project which includes latitude and longitude. latitude and longitude have same properties but when I add values of both it just gives me the error of longitude property, and it is not understandable for me..

Obj.Lat = Convert.ToDouble(item.Lat);
Obj.Lng = Convert.ToDouble(item.Lng);

this image shows the error




Aucun commentaire:

Enregistrer un commentaire