var filteredSeries = (from r in dtCommonData.AsEnumerable()
where (r.Field<string>("time_interval_vc").Equals(strTimeInterval)
&& r.Field<string>("station_name_vc").Equals(arrCmbMissingVal[0]))
select r).Distinct();
if (filteredSeries != null && filteredSeries.Count() > 0)
{
dtSpecificTimeInterval = filteredSeries.CopyToDataTable();
}
where (r.Field<string>("time_interval_vc").Equals(strTimeInterval)
&& r.Field<string>("station_name_vc").Equals(arrCmbMissingVal[0]))
select r).Distinct();
if (filteredSeries != null && filteredSeries.Count() > 0)
{
dtSpecificTimeInterval = filteredSeries.CopyToDataTable();
}
No comments:
Post a Comment