if (dtExcelData != null && dtExcelData.Rows.Count > 0)
{
var results = (from m in dtExcelData.AsEnumerable()
where m.Field<double>("WLATITUDE") == strLat
&& m.Field<double>("WLONGITUDE") == strLong
select m);
dtDataFromExcel = results.CopyToDataTable();
}
{
var results = (from m in dtExcelData.AsEnumerable()
where m.Field<double>("WLATITUDE") == strLat
&& m.Field<double>("WLONGITUDE") == strLong
select m);
dtDataFromExcel = results.CopyToDataTable();
}