Hi,
My datatable contains the following columns...
resultsView.Columns.Add("Fam.", typeof(string));
resultsView.Columns.Add("Component", typeof(int));
resultsView.Columns.Add("Description", typeof(string));
resultsView.Columns.Add("Quantity", typeof(double));
resultsView.Columns.Add("Unit", typeof(string));
resultsView.Columns.Add("Unit Price", typeof(double));
resultsView.Columns.Add("Total", typeof(double));
I have a datatable,
I use IEqualityComparer
to get distinct rows.
Im able to get the distinct rows...
What my problem is If i find same rows, i need to increase a columnValue in this datatable.
I mean i have column named "component" in my datatable, so if two rows are same, then i need to get one row with component value increased by 1 using IEqualitycomparer. What i get now is only one row with component column value not increased...
cud anyone plz help me to solve this problem??