Hi,
I have a small problem. A Customer can have two emails. I want to display the customer as one record in Gridview instead of two.
So, I am trying some SQL solutions and Linq solution.
I did something like:
var query = from p in result.AsEnumerable()
group p by p.GetField<Guid>("CustomerId") into g
select new { Customer = g };
my result is a DataTable.
Now from my query, how can bind this to my GridView?
I have aspBound field like FirstName in the gridView.