How to group repeated email ids present in one column of datatable


#1

How to group repeated email ids present in one column of data table.Can anyone please help me


#2

@Anusha_Mavuluri_TCSL, Use this,

Regards,
Dominic :slight_smile:


#3

Refer this post


#4

Hi Dominic,

Thanks a lot could you please explain more i am not able to get it completely.


#5

Hi @Anusha_Mavuluri_TCSL,

(From row in DataTableName.select() Group row by Product=Convert.Tostring(row.Item("EmailID")) Into Group Select Group(0)).ToArray.CopyToDataTable()

This code will return the unique record of email id

Regards,
Arivu :slight_smile: