How to check for duplicate entries in Data Table - VB.Net
Posted on 2011-05-03
I have data table comprised of 3 coulmns (Channel Name, Channel ID, Channel Type)
I'm looking for an efficient VB.net code for looping through the table to detect if I have duplicated channel names.
Someting along the following lines:
For Each drRow in dtChannelsList.Rows
code goes here to check if drRow.item("ChannelName") is duplicate
Appreciate your help