I tried like this
var dataRow = from customer in dt.AsEnumerable()
where customer.Field<string>("Insights value") ==' # Tickets'
select new
{
strInsightsvalue = customer.Field<string>("Insights value"),
strExplorerValue = customer.Field<string>("Explore value"),
strExploreAggregate = customer.Field<string>("Explore Aggregator")
};
it show dataRow=null
or i tried below one
var dataRow = dt.AsEnumerable().Where(x => x.Field<string>("Explore Aggregator") == '# Tickets').FirstOrDefault();
using Datatable for each will take more time , so please help