you can loop through the columnd dt.Columns and then inside loop use if condition to check if already the same column name exists…if no use currentitem.Columnname = dt.Rows(0)(currentitem.Columnname).ToString…on yes side use currentitem.Columnname = dt.Rows(0)(currentitem.Columnname).ToString + "_1"
I hope only one duplicate if multiple can handle accordingly
cheers